Files
odoo_source/addons/auth_totp/models
Thomas Becquevort (thbe) e2cf852150 [FIX] auth_totp: Ignore email alert for API connections
Description of the issue/behavior this commit addresses:

When 2FA is on on a user and he tries to use an API key to do a xmlrpc request,
the request fails. This is due to the system which choses whether or not to
send an alert via mail to look in the request's values while there is actually
no url request in that case.

Desired behavior after this commit is merged:

This commit adds a check to make sure a request is available before checking
its values.

opw-3645609

closes odoo/odoo#147475

Signed-off-by: Thomas Becquevort (thbe) <thbe@odoo.com>
2023-12-27 08:49:59 +00:00
..
…