mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
1-Edited New Event page. 2-Changed Gabinete-Digital workkflow. 3-Changed App Name. Added Expediente View
This commit is contained in:
@@ -12,6 +12,8 @@ import { ToastController } from '@ionic/angular';
|
||||
})
|
||||
export class LoginPage implements OnInit {
|
||||
|
||||
logstatus: boolean;
|
||||
|
||||
/* Declare variables */
|
||||
public postData = {
|
||||
username: '',
|
||||
@@ -27,6 +29,8 @@ export class LoginPage implements OnInit {
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
/* console.log(this.authService.validateLogin()); */
|
||||
/* this.authService.login(this.postData); */
|
||||
}
|
||||
/* Function to validade the login inputs */
|
||||
validateInput(){
|
||||
@@ -86,6 +90,7 @@ export class LoginPage implements OnInit {
|
||||
|
||||
if(this.validateInput()){
|
||||
this.router.navigate(['/home/events']);
|
||||
|
||||
/* if (await this.authService.login(this.postData))
|
||||
{
|
||||
this.router.navigate(['/home/feed']);
|
||||
|
||||
Reference in New Issue
Block a user