Fix: Add OIDC/SSO login button and hide password form when OIDC-only

- Added SSO login button on login page that appears when OIDC is configured
- Button shows provider name (e.g. 'Sign in with Authentik')
- When 'Disable password login' is enabled, hides password form and
  shows only the SSO button
- Added auth divider between password and SSO sections
- Added i18n keys (or, sso_login, sso_login_provider) for all 8 locales
- Fixed missing comma in it.json locale file

Fixes #88, Fixes #89
This commit is contained in:
Dionisio
2026-02-13 19:59:13 +01:00
parent c2c9bb700d
commit 53625776cb
11 changed files with 139 additions and 9 deletions
+4 -1
View File
@@ -231,7 +231,10 @@
"admin_success": "管理员账号创建成功!您现在可以登录。",
"account_success": "账号创建成功!您现在可以登录。",
"passwords_mismatch": "密码不匹配",
"admin_create_error": "创建管理员账号时出错"
"admin_create_error": "创建管理员账号时出错",
"or": "或",
"sso_login": "使用 SSO 登录",
"sso_login_provider": "使用 {{provider}} 登录"
},
"storage": {
"title": "存储空间",