mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 03:23:07 +00:00
70373: Remove unnecessary route navigate
This commit is contained in:
@@ -460,7 +460,6 @@ export class AuthService {
|
|||||||
* Refresh route navigated
|
* Refresh route navigated
|
||||||
*/
|
*/
|
||||||
public refreshAfterLogout() {
|
public refreshAfterLogout() {
|
||||||
this.router.navigate(['/home']);
|
|
||||||
// Hard redirect to home page, so that all state is definitely lost
|
// Hard redirect to home page, so that all state is definitely lost
|
||||||
this._window.nativeWindow.location.href = '/home';
|
this._window.nativeWindow.location.href = '/home';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user