mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
70373: Stop impersonating button in navbar + clear cookie on logout
This commit is contained in:
@@ -201,6 +201,7 @@ export class AuthEffects {
|
||||
.pipe(
|
||||
ofType(AuthActionTypes.LOG_OUT),
|
||||
switchMap(() => {
|
||||
this.authService.stopImpersonating();
|
||||
return this.authService.logout().pipe(
|
||||
map((value) => new LogOutSuccessAction()),
|
||||
catchError((error) => observableOf(new LogOutErrorAction(error)))
|
||||
|
Reference in New Issue
Block a user