Skip to content

[19.0][MIG] auth_admin_passkey#936

Open
andrel-exo wants to merge 91 commits into
OCA:19.0from
andrel-exo:19.0_mig_auth_admin_passkey
Open

[19.0][MIG] auth_admin_passkey#936
andrel-exo wants to merge 91 commits into
OCA:19.0from
andrel-exo:19.0_mig_auth_admin_passkey

Conversation

@andrel-exo
Copy link
Copy Markdown

No description provided.

legalsylvain and others added 30 commits April 28, 2026 10:34
…ion if user_id == SUPERUSER_ID. (Courtesy of Stefan Rijnhart).
…s the same password as the admin user, sending a mail to admin user.
… installation of modules 'auth_admin_passkey' and 'auth_crypt'. (Courtesy of Stefan Rijnhart).
…xxx']

[REF] res_users.py : same call to self.pool in other res_users class.
[ADD] Test #1 to OCA#5 to avoid regression;
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
oca-ci and others added 19 commits April 28, 2026 10:34
Currently translated at 100.0% (11 of 11 strings)

Translation: server-auth-16.0/server-auth-16.0-auth_admin_passkey
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_admin_passkey/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-16.0/server-auth-16.0-auth_admin_passkey
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_admin_passkey/
Currently translated at 100.0% (3 of 3 strings)

Translation: server-auth-16.0/server-auth-16.0-auth_admin_passkey
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_admin_passkey/es/
Currently translated at 100.0% (3 of 3 strings)

Translation: server-auth-17.0/server-auth-17.0-auth_admin_passkey
Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_admin_passkey/it/
In the res_users.py file, the `ignore_totp` session variable is now set based on the value of the `auth_admin_passkey_ignore_totp` configuration option. If the option is enabled, the `ignore_totp` session variable is set to True. This ensures that the `_mfa_url` method returns None when `ignore_totp` is True, effectively bypassing the 2FA check.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-18.0/server-auth-18.0-auth_admin_passkey
Translate-URL: https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-auth_admin_passkey/
@OCA-git-bot OCA-git-bot added series:19.0 mod:auth_admin_passkey Module auth_admin_passkey labels Apr 28, 2026
Copy link
Copy Markdown
Contributor

@legalsylvain legalsylvain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a minor question.
thanks for porting this module !

Comment thread auth_admin_passkey/models/res_users.py Outdated
@andrel-exo andrel-exo force-pushed the 19.0_mig_auth_admin_passkey branch from 59e05ce to f0e7b58 Compare April 28, 2026 10:09
@andrel-exo andrel-exo mentioned this pull request Apr 28, 2026
19 tasks
Copy link
Copy Markdown
Member

@atchuthan atchuthan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional & Tested in local 👍

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.