Skip to content

Commit

Permalink
Merge pull request #1465 from Ubersmake/STRF-6102
Browse files Browse the repository at this point in the history
Explicitly disable autocomplete in password entry input fields.
  • Loading branch information
Ubersmake authored Mar 19, 2019
2 parents 2089be2 + ac3ed57 commit 7e963bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Explicitly disable autocomplete in password entry input fields. [#1465](https://github.com/bigcommerce/cornerstone/pull/1465)

## 3.3.0 (2019-03-18)
- Add option to hide breadcrumbs and page title. [#1444](https://github.com/bigcommerce/cornerstone/pull/1444)
Expand Down
2 changes: 1 addition & 1 deletion templates/pages/auth/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1 class="page-heading">{{lang 'login.heading' }}</h1>
</div>
<div class="form-field">
<label class="form-label" for="login_pass">{{lang 'login.field_password'}}</label>
<input class="form-input" id="login_pass" type="password" name="login_pass">
<input class="form-input" id="login_pass" type="password" name="login_pass" autocomplete="off">
</div>
<div class="form-actions">
<input type="submit" class="button button--primary" value="{{lang 'login.submit_value' }}">
Expand Down
4 changes: 2 additions & 2 deletions templates/pages/auth/new-password.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ <h2 class="page-heading">{{lang 'forms.new_password.heading' }}</h2>
{{lang 'forms.new_password.password' }}
<small>{{lang 'common.required' }}</small>
</label>
<input type="password" class="form-input" name="password" id="password">
<input type="password" class="form-input" name="password" id="password" autocomplete="off">
</div>
<div class="form-field">
<label class="form-label" for="password_confirm">
{{lang 'forms.new_password.password2' }}
<small>{{lang 'common.required' }}</small>
</label>
<input type="password" class="form-input" name="password_confirm" id="password_confirm">
<input type="password" class="form-input" name="password_confirm" id="password_confirm" autocomplete="off">
</div>
</div>
<div class="form-actions">
Expand Down

0 comments on commit 7e963bc

Please sign in to comment.