Open astirpe opened 4 months ago
@legalsylvain done, could you check?
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
Depends on https://github.com/OCA/server-auth/pull/624
Context In https://github.com/OCA/server-auth/pull/550 (V16) and https://github.com/OCA/server-auth/pull/624 (V17) there's a proposal for module
auth_admin_passkey
to bypass TOTP/2FA for admin passkey. In case moduleauth_totp_mail_enforce
is also installed, the above solution may not work, depending on which module was installed in which order (first or second).Proposal We hereby propose this glue module, auto-installable in case both
auth_admin_passkey
auth_totp_mail_enforce
are installed. This module ensures that method_mfa_url()
is executed properly, regardless of which of the modules (auth_admin_passkey
orauth_totp_mail_enforce
) was installed first.