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

@ -230,8 +230,8 @@
</tr>
</table>
<p>
For security, this request was received from a {{operating_system}} device using {{browser_name}}.
If you did not request a password reset, please ignore this email.
{% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}.
{% endif %}If you did not request a password reset, please ignore this email.
</p>
<p>Thanks,
<br>The FitTrackee Team</p>