1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

adjust form requirements and verbatim input

This commit is contained in:
Kyle Spearrin
2018-07-13 14:50:21 -04:00
parent c679726564
commit df9282e759
22 changed files with 61 additions and 52 deletions

View File

@@ -4,11 +4,12 @@
<div class="form-group">
<label for="masterPassword">{{'masterPass' | i18n}}</label>
<input id="masterPassword" type="password" name="MasterPasswordHash" class="form-control" [(ngModel)]="masterPassword" required
[readonly]="tokenSent">
[readonly]="tokenSent" appInputVerbatim>
</div>
<div class="form-group">
<label for="newEmail">{{'newEmail' | i18n}}</label>
<input id="newEmail" class="form-control" type="text" name="NewEmail" [(ngModel)]="newEmail" required [readonly]="tokenSent">
<input id="newEmail" class="form-control" type="text" name="NewEmail" [(ngModel)]="newEmail" required [readonly]="tokenSent"
inputmode="email" appInputVerbatim="false">
</div>
</div>
</div>
@@ -20,7 +21,7 @@
<div class="col-6">
<div class="form-group">
<label for="token">{{'code' | i18n}}</label>
<input id="token" class="form-control" type="text" name="Token" [(ngModel)]="token" required>
<input id="token" class="form-control" type="text" name="Token" [(ngModel)]="token" required appInputVerbatim>
</div>
</div>
</div>