Skip to content

Commit 9662330

Browse files
[DSC-1864] fix redundant message
1 parent 292583c commit 9662330

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<form class="form-login"
22
(ngSubmit)="submit()"
33
[formGroup]="form" novalidate>
4+
<label class="sr-only">{{"login.form.email" | translate}}</label>
45
<input [attr.aria-label]="'login.form.email' |translate"
5-
autocomplete="username"
6+
autocomplete="off"
67
autofocus
78
class="form-control form-control-lg position-relative"
89
formControlName="email"
910
placeholder="{{'login.form.email' | translate}}"
1011
required
1112
type="email"
1213
[attr.data-test]="'email' | dsBrowserOnly">
14+
<label class="sr-only">{{"login.form.password" | translate}}</label>
1315
<input [attr.aria-label]="'login.form.password' |translate"
14-
autocomplete="current-password"
16+
autocomplete="off"
1517
class="form-control form-control-lg position-relative mb-3"
1618
placeholder="{{'login.form.password' | translate}}"
1719
formControlName="password"
@@ -26,12 +28,3 @@
2628
<button class="btn btn-lg btn-primary btn-block mt-3" type="submit" [attr.data-test]="'login-button' | dsBrowserOnly"
2729
[disabled]="!form.valid"><i class="fas fa-sign-in-alt"></i> {{"login.form.submit" | translate}}</button>
2830
</form>
29-
30-
<div class="mt-2">
31-
<a class="dropdown-item" *ngIf="canRegister$ | async" [routerLink]="[getRegisterRoute()]" [attr.data-test]="'register' | dsBrowserOnly" role="menuitem">
32-
{{ 'login.form.new-user' | translate }}
33-
</a>
34-
<a class="dropdown-item" [routerLink]="[getForgotRoute()]" [attr.data-test]="'forgot' | dsBrowserOnly" role="menuitem">
35-
{{ 'login.form.forgot-password' | translate }}
36-
</a>
37-
</div>

0 commit comments

Comments
 (0)