Setting up URL to a custom elevated session page in config/statamic/users.php won't work in Cp
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 84/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
调研方向
比较 cms/src/Http/Controllers/Auth/ElevatedSessionController.php 与 cms/src/Http/Controllers/CP/Auth/ElevatedSessionController.php 中的重定向处理,然后检查为提升会话表单记录的配置。让自定义 URL 在 Cp 中像在非 Cp 控制器中一样生效,并验证 Cp 的重定向行为。
由索引模型根据 Issue 内容生成。
描述
Bug description
According to documentation (https://statamic.dev/tags/user-elevated_session_form#configuration) it is possible to set up URL to a custom elevated session page in config/statamic/users.php. This seems not to be true for Cp.
Redirect is implemented in (lines 22-24) cms/src/Http/Controllers/Auth/ElevatedSessionController.php
Redirect is not implemented in: cms/src/Http/Controllers/CP/Auth/ElevatedSessionController.php
How to reproduce
Check (lines 22-24) cms/src/Http/Controllers/Auth/ElevatedSessionController.php
Compare with cms/src/Http/Controllers/CP/Auth/ElevatedSessionController.php
It was introduced in:
https://github.com/statamic/cms/pull/14424/changes
Logs
Environment
not relevant
Installation
Other (please explain)
Additional details
No response
- 主要语言
- PHP
- 星标
- 4.9k
- 派生
- 647
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 127
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
statamic/cms 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
accessibility
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
[7.x] Reintroduce parser error for mixed pipe/shorthand modifier syntax可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭antlers
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
Nested Replicator inside Bard set remounts and resets collapsed state on field interaction可能已有人在做 @edalzell 于 1 天前认领。 未关闭bard fieldtypes
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
caching nocache
难度 3/5 1-2 天 新手友好度 42/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
PHP SDK drops the API path prefix when a custom base URL has no trailing slash可能已有人在做 @Winoren 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
langgenius/dify#44568 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
1. to develop bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
awslabs/aidlc-workflows#2921 ·
维护者通常 1 天内回复
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复