Merge pull request #16379 from overleaf/jpa-pw-reset-hint

[web] add username hint for password managers on password (re)set form

GitOrigin-RevId: f691c0368494bc550ee10581f2a8ddf5addadf9b
This commit is contained in:
Jakob Ackermann 2024-01-04 12:34:46 +00:00 committed by Copybot
parent 92d36962bd
commit 2207000a0f

View file

@ -39,7 +39,7 @@ block content
| #{translate('request_new_password_reset_email')}
input(type="hidden", name="_csrf", value=csrfToken)
input(type="hidden", name="email", value=email)
input(type="text" hidden name="email" autocomplete="username" value=email)
.form-group
label(for='passwordField', data-ol-hide-on-error-message="token-expired") #{translate("new_password")}