feat: 登录页添加「使用其他账号登录」按钮
This commit is contained in:
parent
2b42184c03
commit
8de2298f99
|
|
@ -56,6 +56,14 @@ export default function LoginPage({ siteName, title, redirectPath = '/' }: Login
|
|||
统一认证登录
|
||||
</button>
|
||||
<p className="text-center text-xs text-slate-400 mb-3">通过 SSO 统一身份认证</p>
|
||||
<p className="text-center mb-2">
|
||||
<button
|
||||
onClick={() => { window.location.href = '/api/auth/login/oidc?switch=1' }}
|
||||
className="text-xs text-slate-400 hover:text-slate-600 dark:hover:text-slate-300 underline"
|
||||
>
|
||||
使用其他账号登录
|
||||
</button>
|
||||
</p>
|
||||
<p className="text-center">
|
||||
<button
|
||||
onClick={() => setShowLdapForm(true)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue