Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 6 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.95 MB
Module directory on disk
Code analysis
0 migration notes
4 models
5 views
2 HTTP endpoints
Description
2FA Invite mail
Allow the users to invite another user to use Two-Factor authentication by sending an email to the target user. This email redirects them to:
- the users security settings if the user is internal.
- the portal security settings page if the user is not internal.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- auth_timeout
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_security_alert |
account_security_alert | ir.ui.view | qweb | Inherits mail.account_security_alert |
auth_totp_mail.res_users_view_form |
res.users.view.form.auth.totp.mail | res.users | form | Inherits base.view_users_form_simple_modif |
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 |
view_users_form |
res.users.view.form.inherit.auth.totp.mail | res.users | form | Inherits auth_totp.view_totp_form |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/auth-timeout/send-totp-mail-code |
AuthTOTPMailController.send_totp_mail_code |
user | jsonrpc | ALL | |
| (inherited route override) | Home.web_totp |
inherited | http | ALL |
Models touched 4
New fields (0)
No new fields.
Public methods (1)-
unlink(self)Notify users when trusted devices are removed from their account.
New fields (0)
No new fields.
Public methods (0)No public methods.
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 (5)-
action_open_my_account_settings(self) -
action_totp_invite(self) -
authenticate(self, credential, user_agent_env)Send an alert on new connection. - 2FA enabled -> only for new device - Not enabled -> no alert -
get_totp_invite_url(self) -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…