Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][IMP] auth_admin_passkey: option for TOTP/2FA bypass for admin passkey #624

Closed
wants to merge 2 commits into from

Conversation

astirpe
Copy link
Member

@astirpe astirpe commented Mar 13, 2024

Porting of #550 to V17.
Added extra check to avoid updating session if session not existing.

@astirpe astirpe force-pushed the 17.0_imp_auth_admin_passkey branch from f67d37b to 905b49b Compare March 13, 2024 07:31
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.
@astirpe astirpe force-pushed the 17.0_imp_auth_admin_passkey branch from 905b49b to 8bd6f78 Compare March 13, 2024 07:34
@astirpe astirpe force-pushed the 17.0_imp_auth_admin_passkey branch from 217068e to f138da2 Compare March 13, 2024 13:06
@astirpe astirpe changed the title [IMP] auth_admin_passkey: option for TOTP/2FA bypass for admin passkey [17.0][IMP] auth_admin_passkey: option for TOTP/2FA bypass for admin passkey Mar 13, 2024
@astirpe astirpe marked this pull request as ready for review March 13, 2024 13:08
Copy link

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.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 14, 2024
@github-actions github-actions bot closed this Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants