mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Auth module improvement
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
placeholder="{{'login.form.email' | translate}}"
|
||||
required
|
||||
type="email"
|
||||
(input)="resetError($event)">
|
||||
(input)="resetErrorOrMessage($event)">
|
||||
<label for="inputPassword" class="sr-only">{{"login.form.password" | translate}}</label>
|
||||
<input id="inputPassword"
|
||||
autocomplete="off"
|
||||
@@ -18,8 +18,9 @@
|
||||
formControlName="password"
|
||||
required
|
||||
type="password"
|
||||
(input)="resetError($event)">
|
||||
(input)="resetErrorOrMessage($event)">
|
||||
<div *ngIf="(error | async) && hasError" class="alert alert-danger" role="alert" @fadeOut>{{ error | async }}</div>
|
||||
<div *ngIf="(message | async) && hasMessage" class="alert alert-info" role="alert" @fadeOut>{{ message | async }}</div>
|
||||
<button class="btn btn-lg btn-primary btn-block mt-3" type="submit" [disabled]="!form.valid">{{"login.form.submit" | translate}}</button>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">{{"login.form.new-user" | translate}}</a>
|
||||
|
Reference in New Issue
Block a user