Removed browser autocomplete from account settings

This commit is contained in:
Marcin Kurczewski 2014-11-10 20:25:07 +01:00
parent 2a833d53ea
commit a2ff2d25ae

View file

@ -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&hellip;" value="<%= user.name %>"/> <input autocomplete="off" type="text" name="userName" id="account-settings-name" placeholder="New name&hellip;" 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&hellip;" value="<%= user.email %>"/> <input autocomplete="off" type="text" name="email" id="account-settings-email" placeholder="New e-mail&hellip;" 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&hellip;" value=""/> <input autocomplete="off" type="password" name="password" id="account-settings-password" placeholder="New password&hellip;" 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&hellip; (repeat)" value=""/> <input autocomplete="off" type="password" name="passwordConfirmation" id="account-settings-password-confirmation" placeholder="New password&hellip; (repeat)" value=""/>
</div> </div>
</div> </div>
<% } %> <% } %>