This commit is contained in:
tiago.kayaya
2021-01-15 12:31:21 +01:00
parent ce1625e33a
commit 092557b21e
2 changed files with 31 additions and 2 deletions
+2 -1
View File
@@ -80,7 +80,7 @@ export class LoginPage implements OnInit {
if (await this.authService.login(this.userattempt)){
this.loginRocketChat();
console.log('Log Gabinete Digital OK');
this.router.navigate(['/home/events']);
this.router.navigate(['/home/events']);this.presentAlert('1');
}
else
{
@@ -93,6 +93,7 @@ export class LoginPage implements OnInit {
this.presentAlert('Por favor, insira o seu nome de utilizador e palavra-passe.');
}
} catch (error) {
error
this.presentAlert('Ocorreu um erro ao fazer login. Contacte o administrador de sistema. '+ error);
}
}