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:
Jens L.
2025-06-23 01:49:43 +02:00
committed by GitHub
parent 53d8f9bd8c
commit cf9b7eaa64

View File

@ -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();
}