mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
small logout refactoring
This commit is contained in:
@@ -28,8 +28,8 @@ export class LogoutPage extends Page {
|
||||
|
||||
/** @override */
|
||||
load(): promise.Promise<any> {
|
||||
return super.load()
|
||||
.then(() => Utils.clearLocalStorage())
|
||||
.then(() => Utils.clearSessionStorage());
|
||||
return Utils.clearLocalStorage()
|
||||
.then(() => Utils.clearSessionStorage())
|
||||
.then(() => super.load());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user