This commit is contained in:
Peter Maquiran
2021-08-20 18:02:50 +01:00
parent 270a31e653
commit 2cb79e2c48
4 changed files with 20 additions and 18 deletions
+8 -4
View File
@@ -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 {