mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Debug settings. Default login. Environment settings.
This commit is contained in:
@@ -30,6 +30,8 @@ export class EventDetailPage implements OnInit {
|
||||
return;
|
||||
}
|
||||
const eventId = paramMap.get('eventId');
|
||||
|
||||
console.log(eventId);
|
||||
/* Load my event detail */
|
||||
/* this.loadedEvent = this.eventsService.getEvent(eventId); */
|
||||
this.eventItem = this.eventsService.getEvent(eventId);
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Router } from '@angular/router';
|
||||
import { AuthService } from 'src/app/services/auth.service';
|
||||
import { User } from 'src/app/models/user.model';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { environment } from 'src/environments/environment';
|
||||
|
||||
|
||||
@Component({
|
||||
@@ -13,8 +14,8 @@ import { ToastService } from 'src/app/services/toast.service';
|
||||
export class LoginPage implements OnInit {
|
||||
|
||||
logstatus: boolean;
|
||||
username: string = "";
|
||||
password: string = "";
|
||||
username: string = environment.defaultuser;
|
||||
password: string = environment.defaultuserpwd;
|
||||
userattempt: User;
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user