mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -35,7 +35,6 @@ export class AuthService {
|
||||
|
||||
async login(user: User): Promise<boolean> {
|
||||
user.BasicAuthKey = 'Basic ' + btoa(user.username + '@' + user.domainName + ':' + user.password); //conversão em base64 das credenciais inseridas
|
||||
|
||||
//if(!environment.production){
|
||||
localStorage.setItem('user', JSON.stringify(user) );
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user