mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
auto login chat
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user