This commit is contained in:
tiago.kayaya
2021-09-02 13:22:10 +01:00
18 changed files with 355 additions and 221 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export class AuthService {
}
async login(user: UserForm, saveSession = true): Promise<LoginUserRespose> {
async login(user: UserForm, {saveSession = true}): Promise<LoginUserRespose> {
user.BasicAuthKey = 'Basic ' + btoa(user.username + ':' + this.aesencrypt.encrypt(user.password,user.username ));
this.headers = this.headers.set('Authorization',user.BasicAuthKey);
+1 -1
View File
@@ -29,7 +29,7 @@ export class InativityService {
function resetTimer() {
clearTimeout(t);
t = setTimeout(userIsNotActive, 60000 * 5); // time is in milliseconds
t = setTimeout(userIsNotActive, 60000 * 15); // time is in milliseconds
}
}
}
@@ -71,8 +71,6 @@ export class WebNotificationPopupService {
})
});
}
});