mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Merge branch 'route/test' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -228,7 +228,7 @@ export class AuthService {
|
||||
}, 1) */
|
||||
}
|
||||
|
||||
autologout(expirationDate:number){
|
||||
autologout(expirationDate:number) {
|
||||
setTimeout(()=>{
|
||||
this.logout();
|
||||
}, expirationDate)
|
||||
@@ -248,13 +248,13 @@ export class AuthService {
|
||||
}
|
||||
|
||||
//Get user data from RocketChat | global object
|
||||
getUserData(){
|
||||
getUserData() {
|
||||
this.storageService.get(AuthConnstants.AUTH).then(res=>{
|
||||
this.userData$.next(res);
|
||||
});
|
||||
}
|
||||
|
||||
logoutChat(){
|
||||
logoutChat() {
|
||||
//this.storageService.clear();
|
||||
/* this.storageService.removeStorageItem(AuthConnstants.AUTH).then(res =>{
|
||||
this.userData$.next('');
|
||||
|
||||
Reference in New Issue
Block a user