diff options
Diffstat (limited to 'ufund-ui/src/app/components/login')
| -rw-r--r-- | ufund-ui/src/app/components/login/login.component.html | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/login/login.component.html b/ufund-ui/src/app/components/login/login.component.html index c67b903..1017d0f 100644 --- a/ufund-ui/src/app/components/login/login.component.html +++ b/ufund-ui/src/app/components/login/login.component.html @@ -1,7 +1,7 @@  <div id="box">      <h1>Login</h1> -    <input placeholder="Username" type="text" #username> -    <input placeholder="Password" type="password" #password> +    <input placeholder="Username" type="text" #username (keydown.enter)="login(username.value, password.value)"> +    <input placeholder="Password" type="password" #password (keydown.enter)="login(username.value, password.value)">      <button type="button" (click)="login(username.value, password.value)">Login</button>      <div>          New? <a routerLink="/signup">Create an account</a>  | 
