fix(core): Persist CurrentAuthenticationMethod setting change (#5762)
* limit user invites when saml is enabled * persist CurrentAuthenticationMethod
This commit is contained in:
committed by
GitHub
parent
57748b71e5
commit
4498c6013d
@@ -210,7 +210,7 @@ export class SamlService {
|
||||
}
|
||||
this._samlPreferences.metadata = prefs.metadata;
|
||||
}
|
||||
setSamlLoginEnabled(prefs.loginEnabled ?? isSamlLoginEnabled());
|
||||
await setSamlLoginEnabled(prefs.loginEnabled ?? isSamlLoginEnabled());
|
||||
setSamlLoginLabel(prefs.loginLabel ?? getSamlLoginLabel());
|
||||
this.getIdentityProviderInstance(true);
|
||||
const result = await this.saveSamlPreferencesToDb();
|
||||
|
||||
Reference in New Issue
Block a user