Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 606 Bytes

passwords-forms.md

File metadata and controls

27 lines (19 loc) · 606 Bytes

Forms with passwords

Log in

Use autocomplete="current-password"

<form>
    <label for="user-password">Password:</label>
    <input type="password" id="user-password" autocomplete="current-password" required>
</form>

Sign-up or change the password

Use autocomplete="new-password"

<form>
    <label for="user-password">New password:</label>
    <input type="password" id="user-password" autocomplete="new-password" required>
</form>