Improve new login location email

This commit is contained in:
Johannes Zellner
2021-04-30 16:20:50 +02:00
parent fb5c2a5e52
commit 549b2f2a6b
3 changed files with 17 additions and 8 deletions

View File

@@ -2,12 +2,14 @@
<img src="<%= cloudronAvatarUrl %>" width="128px" height="128px"/>
<h3>Dear <%= user %>,</h3>
<h3>We've noticed a new login on your Cloudron <%= cloudronName %></h3>
<p>
Someone logged into your Cloudron <%= cloudronName %> with this account.<br/>
If it was not you, please reset your password and logout from all sessions in the profile view.
</p>
<p>Hi <%= user %>,</p>
<p>We noticed a login on your Cloudron account from a new device.</p>
<p>Browser <%= userAgent %> - <%= city %>, <%= country %></p>
<p>If this was you, you can safely disregard this email. If this wasn't you, you should change your password immediately</p>
<br/>
<br/>

View File

@@ -1,8 +1,11 @@
Dear <%= user %>,
We've noticed a new login on your Cloudron <%= cloudronName %>
someone logged into your Cloudron <%= cloudronName %> with this account.
If it was not you, please reset your password and logout from all sessions in the profile view.
Hi <%= user %>,
We noticed a login on your Cloudron account from a new device.
Browser <%= userAgent %> - <%= city %>, <%= country %>
If this was you, you can safely disregard this email. If this wasn't you, you should change your password immediately
Powered by https://cloudron.io