-
- Downloads
[IMP] auth_top, *: revamp Two-factor authentication flow
Purpose ======= Review the UX of the 2-factor authentication flow in order to make it more clear and easy to use. Specifications ============== This commit applies multiple rewording of instructions, button, etc. Tests have been adapted accordingly. It also adds an 'invite to use two-factor authentication' flow that will send an email to the selected used to redirect them their account security settings. - If portal is not installed yet, the user is redirected to his account security settings in backend. - If portal is installed, the user is redirected to /my/profile if them are portal user. Otherwise, the redirection is still done at backend side. As the backend view of auth_totp wizard is used at frontend side, copyclipboard widget has to be rebuilt at frontend side (click event, style etc..). As API key section is now displayed only on debug mode, test urls have been adapted accordingly. Task-2487630 Part-of: odoo/odoo#71142
Showing
- addons/auth_oauth/views/res_users_views.xml 1 addition, 1 deletionaddons/auth_oauth/views/res_users_views.xml
- addons/auth_totp/__manifest__.py 6 additions, 2 deletionsaddons/auth_totp/__manifest__.py
- addons/auth_totp/data/mail_templates_data.xml 29 additions, 0 deletionsaddons/auth_totp/data/mail_templates_data.xml
- addons/auth_totp/models/res_users.py 42 additions, 4 deletionsaddons/auth_totp/models/res_users.py
- addons/auth_totp/static/src/scss/res_users_view_form.scss 3 additions, 0 deletionsaddons/auth_totp/static/src/scss/res_users_view_form.scss
- addons/auth_totp/static/tests/totp_flow.js 25 additions, 25 deletionsaddons/auth_totp/static/tests/totp_flow.js
- addons/auth_totp/views/templates.xml 22 additions, 19 deletionsaddons/auth_totp/views/templates.xml
- addons/auth_totp/views/user_preferences.xml 164 additions, 86 deletionsaddons/auth_totp/views/user_preferences.xml
- addons/auth_totp_portal/__init__.py 3 additions, 0 deletionsaddons/auth_totp_portal/__init__.py
- addons/auth_totp_portal/models/__init__.py 4 additions, 0 deletionsaddons/auth_totp_portal/models/__init__.py
- addons/auth_totp_portal/models/res_users.py 14 additions, 0 deletionsaddons/auth_totp_portal/models/res_users.py
- addons/auth_totp_portal/static/src/js/totp_frontend.js 50 additions, 3 deletionsaddons/auth_totp_portal/static/src/js/totp_frontend.js
- addons/auth_totp_portal/static/src/scss/auth_totp_portal.scss 35 additions, 0 deletions...ns/auth_totp_portal/static/src/scss/auth_totp_portal.scss
- addons/auth_totp_portal/static/tests/totp_portal.js 7 additions, 7 deletionsaddons/auth_totp_portal/static/tests/totp_portal.js
- addons/base_setup/static/src/img/logo_apple_store.png 0 additions, 0 deletionsaddons/base_setup/static/src/img/logo_apple_store.png
- addons/base_setup/static/src/img/logo_google_play.png 0 additions, 0 deletionsaddons/base_setup/static/src/img/logo_google_play.png
- addons/portal/static/src/js/portal.js 0 additions, 3 deletionsaddons/portal/static/src/js/portal.js
- addons/portal/static/src/xml/portal_security.xml 3 additions, 3 deletionsaddons/portal/static/src/xml/portal_security.xml
- addons/web/static/src/legacy/xml/base.xml 1 addition, 1 deletionaddons/web/static/src/legacy/xml/base.xml
- odoo/addons/base/models/res_users.py 5 additions, 1 deletionodoo/addons/base/models/res_users.py
Loading
Please register or sign in to comment