Wednesday, October 25, 2023
1 change · master
New functionality added to Odoo
Users can now receive an email when a new device signs in to their account, helping them spot unexpected access sooner. Alerts are adjusted for two-factor authentication and trusted devices to avoid unnecessary notifications in common safe cases.
Original PR description
Description of the issue/feature this PR addresses: No way to know if someone logs into your account. Current behavior before PR: Prior to this, there was no way of knowing when a new device logged into your personal account. Desired behavior after PR is merged: Adding the new version of the authenticate function, user's will now automaticly receive a mail containing informations on a new connection made to their account. This system uses a mail template sent automaticly on a new connection if the user did not activate 2FA or if his device is not in the trusted devices of his account except if his 2FA method is mail where no mail will be sent even if his device is not trusted. task-3191567 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr