pin login

This commit is contained in:
Peter Maquiran
2021-08-31 10:43:38 +01:00
parent 0975255744
commit d0511fc6f4
2 changed files with 9 additions and 3 deletions
+7 -2
View File
@@ -131,9 +131,14 @@ export class InactivityPage implements OnInit {
const code = this.code.join('')
if( SessionStore.validatePin(code)) {
SessionStore.setInativity(true)
this.goback()
this.clearCode()
setTimeout(()=>{
this.clearCode()
}, 1000)
} else {
this.toastService.badRequest('Pin incorreto')
this.code = []