Skip to content

Commit

Permalink
Added autocomplete="off" to some password fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lverherb committed May 23, 2024
1 parent c1699dc commit 39cb729
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/session/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<div class="field">
<label class="label">Password</label>
<input class="input is-medium" name="password" type="password" placeholder="Password" required />
<input class="input is-medium" name="password" type="password" placeholder="Password" required autocomplete="off" />
<p class="help is-size-6 is-flex is-justify-content-end">
<a href="/users/forgot_password">Forgot your password?</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion templates/users/new_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<div class="field">
<label class="label">Password</label>
<input class="input" name="password" type="password" placeholder="Password" required />
<input class="input" name="password" type="password" placeholder="Password" required autocomplete="off" />
</div>

<div class="field">
Expand Down
2 changes: 1 addition & 1 deletion templates/users/registration_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<div class="field">
<label class="label">Password</label>
<input class="input" name="password" type="password" placeholder="Password" value="{{user.password}}" required />
<input class="input" name="password" type="password" placeholder="Password" value="{{user.password}}" required autocomplete="off" />
<p class="help">
We recommend using a password manager like
<a href="https://bitwarden.com/" target="_blank">bitwarden</a> or
Expand Down
2 changes: 1 addition & 1 deletion templates/users/reset_password_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<div class="field">
<label class="label">New password:</label>
<input class="input" name="new_password" type="password" minlength="8" maxlength="254" placeholder="New password" required />
<input class="input" name="new_password" type="password" minlength="8" maxlength="254" placeholder="New password" required autocomplete="off" />
<p class="help">
We recommend using a password manager like
<a href="https://bitwarden.com/" target="_blank">bitwarden</a> or
Expand Down
2 changes: 1 addition & 1 deletion templates/users/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<div class="field">
<label class="label">Password</label>
<input class="input" name="password" type="password" placeholder="Password" disabled />
<input class="input" name="password" type="password" placeholder="Password" disabled autocomplete="off" />
</div>

<div class="field">
Expand Down

0 comments on commit 39cb729

Please sign in to comment.