Fix login

This commit is contained in:
Peter Maquiran
2021-07-27 10:28:09 +01:00
parent b23fdf03ee
commit 3f11777d74
2 changed files with 7 additions and 2 deletions
@@ -115,7 +115,13 @@ export class ProfileComponent implements OnInit {
logout() {
// clear local storage
window.localStorage.clear();
window.location.pathname = '/'
setTimeout(()=>{
window.location.pathname = '/'
location.reload();
}, 1000)
}
LoginPreferenceMethod(type: string) {