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 */
|
/** @override */
|
||||||
load(): promise.Promise<any> {
|
load(): promise.Promise<any> {
|
||||||
return super.load()
|
return Utils.clearLocalStorage()
|
||||||
.then(() => Utils.clearLocalStorage())
|
.then(() => Utils.clearSessionStorage())
|
||||||
.then(() => Utils.clearSessionStorage());
|
.then(() => super.load());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user