mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
set pin
This commit is contained in:
@@ -117,7 +117,7 @@ export class LoginPage implements OnInit {
|
||||
async Login() {
|
||||
|
||||
if (this.validateUsername()) {
|
||||
if(this.validatePassword()){
|
||||
if(this.validatePassword()) {
|
||||
|
||||
this.userattempt = {
|
||||
username: this.username,
|
||||
@@ -134,10 +134,14 @@ export class LoginPage implements OnInit {
|
||||
this.hasPin = false
|
||||
this.setPin = true
|
||||
|
||||
if(!this.hasPin || this.hasPin) {
|
||||
} else {
|
||||
// if(!this.hasPin || this.hasPin) {
|
||||
// } else {
|
||||
// this.router.navigate(['/home/events']);
|
||||
// }
|
||||
|
||||
this.code = ['1','1','1','1']
|
||||
this.storePin()
|
||||
this.router.navigate(['/home/events']);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user