TIP: You can type at any time to perform a new search.
2FA by mail
auth_totp_mail_enforce · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Extra Tools
- Folder size
- 0.52 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-15 22:24:28
- Authors
- Maintainers
- None
- Committers
- Xavier Morel, Odoo Translation Bot, Denis Ledoux, qsm-odoo, Odoo Online, Tiffany Chang (tic), Louis Wicket (wil), nda, Dylan Kiss (dyki), Louis (wil), thle-odoo, Mathieu Coutant, Krzysztof Magusiak (krma)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_fr_pdp
- Description
2FA by mail =============== Two-Factor authentication by sending a code to the user email inbox when the 2FA using an authenticator app is not configured. To enforce users to use a two-factor authentication by default, and encourage users to configure their 2FA using an authenticator app.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
auth_totp_mail_form |
auth_totp_mail_form | ir.ui.view | qweb | Inherits auth_totp.auth_totp_form |
res_config_settings_view_form |
res.config.settings.view.form.inherit.auth_totp_mail_enforce | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | Home.web_totp |
inherited | http | ALL |
Models touched (3)
New fields (4)
-
ipCharreadonly=True -
limit_typeSelectionreadonly=True args: [('send_email', 'Send Email'), ('code_check', 'Code Checking')] -
scopeCharreadonly=True -
user_idMany2one → res.usersreadonly=Truerequired=True args: 'res.users'
-
init(self)
New fields (2)
-
auth_totp_enforceBooleanstring='Enforce two-factor authentication' -
auth_totp_policySelectionconfig_parameter='auth_totp.policy'string='Two-factor authentication enforcing policy' args: [('employee_required', 'Employees only'), ('all_required', 'All users')]
-
get_values(self)@api.model
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…