From 61a8cfd0c3fb7661712a6514b15a2674bdf8c429 Mon Sep 17 00:00:00 2001 From: eromano Date: Thu, 27 Jul 2023 10:12:18 +0200 Subject: [PATCH] remove automatic login in reset try --- .../src/lib/auth/services/oidc-authentication.service.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/core/src/lib/auth/services/oidc-authentication.service.ts b/lib/core/src/lib/auth/services/oidc-authentication.service.ts index 7f1aafe983..b1dab190d6 100644 --- a/lib/core/src/lib/auth/services/oidc-authentication.service.ts +++ b/lib/core/src/lib/auth/services/oidc-authentication.service.ts @@ -150,11 +150,6 @@ export class OidcAuthenticationService extends BaseAuthenticationService { reset(): void { const config = this.authConfig.loadAppConfig(); this.auth.updateIDPConfiguration(config); - const oauth2: OauthConfigModel = Object.assign({}, this.appConfig.get(AppConfigValues.OAUTHCONFIG, null)); - - if (config.oidc && oauth2.silentLogin) { - this.auth.login(); - } } isPublicUrl(): boolean {