Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="page">
- <app-template-un></app-template-un>
- <app-template-deux></app-template-deux>
- </div>
- <app-login></app-login>
- onSubmit() {
- console.log(`username: ${this.username} password: ${this.password}`)
- if(this.username == 'admin' && this.password == 'admin'){
- this.router.navigate(['dashboard']);
- }
- }
Add Comment
Please, Sign In to add comment