This commit is contained in:
Peter Maquiran
2022-12-21 10:42:25 +01:00
parent 0af70adda7
commit a98c0a85f5
2 changed files with 2 additions and 6 deletions
+2 -3
View File
@@ -149,11 +149,10 @@ export class LoginPage implements OnInit {
this.ChatSystemService.clearChat();
SessionStore.delete();
window.localStorage.clear();
await MessageModel.deleteAll()
await DeleteMessageModel.deleteAll()
await MessageModel.deleteAll();
await DeleteMessageModel.deleteAll();
await this.authService.SetSession(attempt, this.userattempt);
this.changeProfileService.run();
-3
View File
@@ -48,9 +48,6 @@ export class AuthService {
this.headers = new HttpHeaders();
if (SessionStore.exist) {
SessionStore.setInativity(true)
if(this.p.userPermission(this.p.permissionList.Chat.access) == true ) {
this.loginToChatWs()
}