Removed browser autocomplete from account settings
This commit is contained in:
parent
2a833d53ea
commit
a2ff2d25ae
1 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label class="form-label" for="account-settings-name">Name:</label>
|
<label class="form-label" for="account-settings-name">Name:</label>
|
||||||
<div class="form-input">
|
<div class="form-input">
|
||||||
<input type="text" name="userName" id="account-settings-name" placeholder="New name…" value="<%= user.name %>"/>
|
<input autocomplete="off" type="text" name="userName" id="account-settings-name" placeholder="New name…" value="<%= user.name %>"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label class="form-label" for="account-settings-email">E-mail:</label>
|
<label class="form-label" for="account-settings-email">E-mail:</label>
|
||||||
<div class="form-input">
|
<div class="form-input">
|
||||||
<input type="text" name="email" id="account-settings-email" placeholder="New e-mail…" value="<%= user.email %>"/>
|
<input autocomplete="off" type="text" name="email" id="account-settings-email" placeholder="New e-mail…" value="<%= user.email %>"/>
|
||||||
<% if (user.emailUnconfirmed) { %>
|
<% if (user.emailUnconfirmed) { %>
|
||||||
<br/>
|
<br/>
|
||||||
<span class="account-settings-email-unconfirmed">(unconfirmed) <%= user.emailUnconfirmed %></span>
|
<span class="account-settings-email-unconfirmed">(unconfirmed) <%= user.emailUnconfirmed %></span>
|
||||||
|
@ -55,14 +55,14 @@
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label class="form-label" for="account-settings-password">New password:</label>
|
<label class="form-label" for="account-settings-password">New password:</label>
|
||||||
<div class="form-input">
|
<div class="form-input">
|
||||||
<input type="password" name="password" id="account-settings-password" placeholder="New password…" value=""/>
|
<input autocomplete="off" type="password" name="password" id="account-settings-password" placeholder="New password…" value=""/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label class="form-label" for="account-settings-password-confirmation"></label>
|
<label class="form-label" for="account-settings-password-confirmation"></label>
|
||||||
<div class="form-input">
|
<div class="form-input">
|
||||||
<input type="password" name="passwordConfirmation" id="account-settings-password-confirmation" placeholder="New password… (repeat)" value=""/>
|
<input autocomplete="off" type="password" name="passwordConfirmation" id="account-settings-password-confirmation" placeholder="New password… (repeat)" value=""/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in a new issue