diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index cdfdb93..465b3a4 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html @@ -9,7 +9,14 @@
- + @@ -18,7 +25,7 @@
- + diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index 48599d1..4642650 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; -import { AuthService } from '../auth.service'; import { Router } from '@angular/router'; +import { AuthService } from '../auth.service'; @Component({ selector: 'app-login', @@ -17,6 +17,14 @@ export class LoginComponent implements OnInit { ngOnInit(): void {} + public setUserName(event: Event): void { + this.userName = (event.target as any).value; + } + + public setPassword(event: Event): void { + this.password = (event.target as any).value; + } + public login(): void { this.error = null; this.loggingIn = true;