mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 17:31:35 +00:00
fix(auth/oidc): clean-up oidcIdToken session variable
When the OIDC login flow for a new user is cancelled, the oidcIdToken session variable should be cleared as well. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
c4c5cbd5d0
commit
88cfd6a974
1 changed files with 1 additions and 0 deletions
|
@ -109,5 +109,6 @@ export class AuthController {
|
|||
request.session.authProviderIdentifier = undefined;
|
||||
request.session.authProviderType = undefined;
|
||||
request.session.providerUserId = undefined;
|
||||
request.session.oidcIdToken = undefined;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue