Add option to disable password authorization flow

This commit is contained in:
Enginecrafter77
2026-02-24 15:10:44 +01:00
committed by Jason Volk
parent 591014c190
commit 1a434443b9
3 changed files with 19 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ pub(crate) async fn get_login_types_route(
| LoginType::Sso(SsoLoginType { identity_providers })
if list_idps && identity_providers.is_empty() =>
false,
| LoginType::Password(_) => services.config.login_with_password,
| _ => true,
})
.collect(),