feat: 登录页添加「使用其他账号登录」按钮

This commit is contained in:
aiyimickey 2026-07-03 12:12:31 +08:00
parent 2b42184c03
commit 8de2298f99
1 changed files with 8 additions and 0 deletions

View File

@ -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)}