Disable the autocomplete attribute on the password input field (#149)
* Disable the autocomplete attribute on the password input element
* Disable the autocomplete attribute on the password input element
* Disable the autocomplete attribute on the password input element
* Disable the autocomplete attribute on the password input element
(cherry picked from commit 9a4e8c3a78
)
This commit is contained in:
Родитель
05a8cd0889
Коммит
83181ee238
|
@ -191,7 +191,7 @@ from third_party_auth import provider, pipeline
|
|||
</li>
|
||||
<li class="field required password" id="field-password">
|
||||
<label for="password">${_('Password')}</label>
|
||||
<input id="password" type="password" name="password" value="" required aria-required="true" />
|
||||
<input id="password" type="password" name="password" value="" autocomplete="off" required aria-required="true" />
|
||||
<span class="tip tip-input">
|
||||
<a href="#forgot-password-modal" rel="leanModal" class="pwd-reset action action-forgotpw" id="forgot-password-link" role="button" aria-haspopup="true">${_('Forgot password?')}</a>
|
||||
</span>
|
||||
|
|
|
@ -95,7 +95,7 @@ from student.models import UserProfile
|
|||
|
||||
<li class="is-disabled field optional password" id="field-password" hidden>
|
||||
<label for="password">${_('Password')}</label>
|
||||
<input id="password" type="password" name="password" value="" disabled required aria-required="true" aria-describedby="password-tip"/>
|
||||
<input id="password" type="password" name="password" value="" autocomplete="off" disabled required aria-required="true" aria-describedby="password-tip"/>
|
||||
<span class="tip tip-input" id="password-tip">${_('Must be at least 8 characters. Must contain at least one lowercase, one uppercase, and one symbol character.')}</span>
|
||||
</li>
|
||||
|
||||
|
@ -103,7 +103,7 @@ from student.models import UserProfile
|
|||
|
||||
<li class="field required password" id="field-password">
|
||||
<label for="password">${_('Password')}</label>
|
||||
<input id="password" type="password" name="password" value="" required aria-required="true" aria-describedby="password-tip"/>
|
||||
<input id="password" type="password" name="password" value="" autocomplete="off" required aria-required="true" aria-describedby="password-tip"/>
|
||||
<span class="tip tip-input" style="position:static" id="password-tip">${_('Must be at least 8 characters. Must contain at least one lowercase, one uppercase, and one symbol character.')}</span>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ from third_party_auth import provider, pipeline
|
|||
</li>
|
||||
<li class="field required password" id="field-password">
|
||||
<label for="password">${_('Password')}</label>
|
||||
<input id="password" type="password" name="password" value="" required aria-required="true" />
|
||||
<input id="password" type="password" name="password" value="" autocomplete="off" required aria-required="true" />
|
||||
<span class="tip tip-input">
|
||||
<a href="#forgot-password-modal" rel="leanModal" class="pwd-reset action action-forgotpw" id="forgot-password-link" role="button" aria-haspopup="true">${_('Forgot password?')}</a>
|
||||
</span>
|
||||
|
|
|
@ -95,7 +95,7 @@ from student.models import UserProfile
|
|||
|
||||
<li class="is-disabled field optional password" id="field-password" hidden>
|
||||
<label for="password">${_('Password')}</label>
|
||||
<input id="password" type="password" name="password" value="" disabled required aria-required="true" aria-describedby="password-tip"/>
|
||||
<input id="password" type="password" name="password" value="" autocomplete="off" disabled required aria-required="true" aria-describedby="password-tip"/>
|
||||
<span class="tip tip-input" id="password-tip">${_('Must be at least 8 characters. Must contain at least one lowercase, one uppercase, and one symbol character.')}</span>
|
||||
</li>
|
||||
|
||||
|
@ -103,7 +103,7 @@ from student.models import UserProfile
|
|||
|
||||
<li class="field required password" id="field-password">
|
||||
<label for="password">${_('Password')}</label>
|
||||
<input id="password" type="password" name="password" value="" required aria-required="true" aria-describedby="password-tip"/>
|
||||
<input id="password" type="password" name="password" value="" autocomplete="off" required aria-required="true" aria-describedby="password-tip"/>
|
||||
<span class="tip tip-input" style="position:static" id="password-tip">${_('Must be at least 8 characters. Must contain at least one lowercase, one uppercase, and one symbol character.')}</span>
|
||||
</li>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче