auto login chat

This commit is contained in:
tiago.kayaya
2022-02-08 14:22:32 +01:00
parent 7237d90653
commit e86b7749c5
8 changed files with 31 additions and 33 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ class SessionService {
// main data
private _user = new UserSession()
// local storage keyName
private keyName: string;
private keyName: string;
constructor() {
@@ -73,7 +73,7 @@ class SessionService {
return false
}
return this._user.PIN.length >= 2
}
reset(user) {
@@ -98,4 +98,4 @@ class SessionService {
}
export const SessionStore = new SessionService()
export const SessionStore = new SessionService()