mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 01:44:13 +00:00
feat(auth): let admins keep the login page on OIDC-only instances (#2925)
A new app setting oidc_auto_redirect (default on) is part of the admin form and the public app config. Off, an instance without password login no longer sends visitors straight to the IdP: the login page shows its SSO button, also while the cached config is read. Admin toggle on desktop and phone.
This commit is contained in:
@@ -133,6 +133,9 @@ const admin: TranslationStrings = {
|
||||
'admin.oidcLoginHint': 'Izinkan pengguna masuk dengan SSO',
|
||||
'admin.oidcRegistration': 'Penyediaan Otomatis SSO',
|
||||
'admin.oidcRegistrationHint': 'Buat akun otomatis untuk pengguna SSO baru',
|
||||
'admin.oidcAutoRedirect': 'Langsung ke SSO',
|
||||
'admin.oidcAutoRedirectHint':
|
||||
'Saat login dengan kata sandi nonaktif, pengunjung langsung diarahkan ke penyedia identitas. Matikan ini untuk menampilkan halaman login dengan tombol SSO terlebih dahulu.',
|
||||
'admin.envOverrideHint':
|
||||
'Pengaturan login kata sandi dikendalikan oleh variabel lingkungan OIDC_ONLY dan tidak dapat diubah di sini.',
|
||||
'admin.lockoutWarning': 'Minimal satu metode login harus tetap aktif',
|
||||
|
||||
Reference in New Issue
Block a user