Skip to content

Commit

Permalink
Add autocomplete attribute to password fields (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn authored Feb 21, 2018
1 parent 433fccb commit b2c0d56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/partials/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<input type="password"
ng-model="ctrl.password"
aria-label="Password"
translate-attr="{'placeholder': 'welcome.PASSWORD', 'aria-label': 'welcome.PASSWORD'}">
translate-attr="{'placeholder': 'welcome.PASSWORD', 'aria-label': 'welcome.PASSWORD'}"
autocomplete="new-password">
</md-input-container>
</form>
</label>
Expand All @@ -32,7 +33,8 @@ <h2 class="instructions" translate>welcome.PLEASE_UNLOCK</h2>
ng-model="ctrl.password"
autofocus
aria-label="Password"
translate-attr="{'placeholder': 'welcome.PASSWORD', 'aria-label': 'welcome.PASSWORD'}">
translate-attr="{'placeholder': 'welcome.PASSWORD', 'aria-label': 'welcome.PASSWORD'}"
autocomplete="current-password">
</md-input-container>
<md-button type="submit" class="md-raised md-primary"><span translate>welcome.BTN_RECONNECT</span></md-button>
</form>
Expand Down

0 comments on commit b2c0d56

Please sign in to comment.