-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for customizing login and logout pages #6488
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
如果支持了主题可以覆盖默认的 login.html,建议支持可以在配置文件中禁用这个功能,否则一旦主题提供的模板出现问题,可能导致无法再登录。 |
目前还缺少账号绑定页面,这个页面主要用于 OAuth 登录的场景,如果没有根据 OAuth 的登录信息找到对应的用户,会跳转到账号绑定页面,要么登录已有账号,要么注册新的账号,登录或者注册成功之后会跳转到 Auth Provider 的 bindingUrl。具体逻辑可查阅:https://github.com/halo-dev/halo/blob/main/ui/console-src/views/system/Binding.vue |
Signed-off-by: JohnNiang <johnniang@foxmail.com>
Signed-off-by: JohnNiang <johnniang@foxmail.com>
b6f65d6
to
8547ffe
Compare
|
#### What type of PR is this? /area core /kind cleanup /milestone 2.20.x #### What this PR does / why we need it: 重新生成 OpenAPI 定义和 API Client,在 #6488 中忘了重新生成。 #### Does this PR introduce a user-facing change? ```release-note None ```
Halo 2.20 将提供新的登录入口(/login),此 PR 用于适配新的登录地址。 See more: halo-dev/halo#6488 /kind improvement ```release-note 适配 Halo 2.20 的新登录入口。 ```
Halo 2.20 将提供新的登录入口(/login),此 PR 用于适配新的登录地址。 See more: halo-dev/halo#6488 /kind improvement ```release-note 适配 Halo 2.20 的新登录入口。 ```
What type of PR is this?
/kind feature
/area core
What this PR does / why we need it:
See #5214 for more.
Which issue(s) this PR fixes:
Fixes #5214
Fixes #5908
Does this PR introduce a user-facing change?