Files
odoo_source/addons/mail/data/security_notifications_templates.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

38 lines
952 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Template for security update notification (password/login/mail changed, ...) -->
<template id="account_security_setting_update">
<p>
<span>Dear <t t-out="user.name"/>,</span>
</p>
<p>
<span t-out="security_update_text"/>
<span>(<t
t-out="update_datetime"
t-options='{"widget": "datetime", "hide_seconds": True}'/>).</span>
</p>
<p>
<span>If this was done by you:</span><br/>
<ul>
<li>You can safely ignore this message</li>
</ul>
</p>
<p>
<span>If this was not done by you:</span>
</p>
<ul class="o_mail_account_security_suggestions">
<li t-if="suggest_password_reset">
<span>We suggest you start by</span>
<a t-att-href="password_reset_url">
Resetting Your Password
</a>
</li>
<li>
Contact your administrator
</li>
</ul>
</template>
</data>
</odoo>