remove publicates

This commit is contained in:
Peter Maquiran
2023-06-05 10:14:48 +01:00
parent a1657b1e84
commit 005643ae92
14 changed files with 66 additions and 40 deletions
+3
View File
@@ -75,6 +75,9 @@ export class AuthService {
async login(user: UserForm, {saveSession = true}): Promise<LoginUserRespose> {
user.BasicAuthKey = 'Basic ' + btoa(user.username + ':' + this.aesencrypt.encrypt(user.password,user.username ));
// Basic peter.maquiran@equilibrium.co.ao:senha123456
// console.log(user.BasicAuthKey)
this.headers = this.headers.set('Authorization', user.BasicAuthKey);
this.opts = {
headers: this.headers,