mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user