Add option to disable password authorization flow
This commit is contained in:
committed by
Jason Volk
parent
591014c190
commit
1a434443b9
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user