FIX: Allow the app to generate and accept longer backup codes (#8761)

- Increase size of textarea when displaying generated codes
- Adjust maxlength of input field in JS UI
- Adjust maxlength of input field in no_ember UI

Follow-up to bff9880d63
This commit is contained in:
David Taylor
2020-01-21 14:28:31 +00:00
committed by GitHub
parent 9db59deb11
commit 84a2aae77f
3 changed files with 4 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
<%= text_field_tag(:second_factor_token, nil, autofocus: true, pattern: '[a-z0-9]{16}', maxlength: 16, type: 'text') %>
<%= text_field_tag(:second_factor_token, nil, autofocus: true, pattern: '[a-z0-9]{16}', maxlength: 32, type: 'text') %>
<%= hidden_field_tag 'second_factor_method', '2' %>