summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-08-19 14:24:47 +0000
committerXavier Morel <xmo@odoo.com>2020-09-10 12:50:19 +0000
commit6d3f4acdda85bf5a6c4bd1c56066c5f8ea73dd1e (patch)
treefaaedf159393ba91b29a57942eefccd28f6886bf /addons/web/static/src/js/views/basic
parent3fc9b40561af001fac6914ec56f12d433e012b2a (diff)
[IMP] auth_totp: allow spaces in totp code input
TOTP programs generally group the code into two groups of 3 digits, but we'd only allow a single group of 6 digits. Allow spaces in the value for a bit of flexibility, and fix placeholders to look like codes (also turns out @placeholder on a field doesn't do anything, not sure where I got this idea). Also improve the label slightly in the login flow: * add information to the label itself * properly link the label & input via an `id`
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions