mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Improve login
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div *ngIf="!setPint" class="voltar d-flex align-center justify-center pt-25 clear" (click)="pin=!pin; userLoginPreference='none'">
|
||||
<div *ngIf="!setPint" class="voltar d-flex align-center justify-center pt-25 clear" (click)="setPint=false; userLoginPreference='none'">
|
||||
Entrar com senha
|
||||
</div>
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ export class LoginPage implements OnInit {
|
||||
this.setPint = false
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
this.userLoginPreference = ''
|
||||
this.setPint = true
|
||||
this.pin = false
|
||||
@@ -134,7 +134,7 @@ export class LoginPage implements OnInit {
|
||||
this.authService.loginChat(this.userattempt);
|
||||
//this.getToken();
|
||||
|
||||
if(!this.pin && this.userLoginPreference != 'pin' && this.userLoginPreference != 'none') {
|
||||
if(!this.pin) {
|
||||
this.setPint = true
|
||||
this.pin = true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user