Files
odoo_source/addons/auth_totp_mail/data/security_notifications_template.xml
T
Aurélien Warnon 9e7ff38fa8 [IMP] mail, auth_totp: notify user about important security modifications
This commit aims to notify the user (currently through an email) that some
important security parameter of his account has changed.

Here is a list of what is currently notified:
- password change
- login change
- email change
- 2FA enabled/disabled
- trusted device (for 2FA) added/removed

This email is rather simple and only invites the end-user to take actions if
that change was not done by him (reset password, contact administrator, ...).

Task-2639168

closes odoo/odoo#94922

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2023-01-24 17:34:48 +01:00

17 lines
705 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Extend the security update template to include 2fa suggestion -->
<template id="account_security_setting_update" inherit_id="mail.account_security_setting_update">
<xpath expr="//ul[hasclass('o_mail_account_security_suggestions')]/li[1]" position="after">
<li t-if="suggest_2fa">
<span>Consider</span>
<a href="https://www.odoo.com/documentation/master/applications/general/auth/2fa.html">
activating Two-factor Authentication
</a>
</li>
</xpath>
</template>
</data>
</odoo>