Skip to content
Snippets Groups Projects
Commit 30651cc8 authored by kaiyou's avatar kaiyou
Browse files

Merge branch '109-add-totp-autocomplete' into 'master'

add totp autocomplete HTML tag

Closes #109

See merge request acides/hiboo!58
parents 4c80e4ac e6fcfccd
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ class LoginForm(flask_wtf.FlaskForm):
class TotpForm(flask_wtf.FlaskForm):
totp = fields.PasswordField(_('Enter the one-time password delivered by your client'), [validators.DataRequired()])
totp = fields.PasswordField(_('Enter the one-time password delivered by your client'), [validators.DataRequired()], render_kw={'autocomplete': 'one-time-code'})
submit = fields.SubmitField(_('Confirm'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment