API - display security infos only when provided

This commit is contained in:
Sam
2022-03-12 10:09:43 +01:00
parent c155efc7ec
commit d13a3704c5
12 changed files with 456 additions and 16 deletions

View File

@ -215,8 +215,8 @@
<h1>Hi {{username}},</h1>
<p>The password for your FitTrackee account has been changed.</p>
<p>
For security, this request was received from a {{operating_system}} device using {{browser_name}}.
If this password change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked.
{% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}.
{% endif %}If this password change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked.
</p>
<p>Thanks,
<br>