web/user: fix infinite loop when no user settings flow is set (#15188)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -93,7 +93,7 @@ export class UserSettingsFlowExecutor
|
||||
}
|
||||
|
||||
updated(): void {
|
||||
if (!this.flowSlug && this.brand) {
|
||||
if (!this.flowSlug && this.brand?.flowUserSettings) {
|
||||
this.flowSlug = this.brand.flowUserSettings;
|
||||
this.nextChallenge();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user