Send new login location notification mail
This commit is contained in:
19
src/mail_templates/new_login_location-html.ejs
Normal file
19
src/mail_templates/new_login_location-html.ejs
Normal file
@@ -0,0 +1,19 @@
|
||||
<center>
|
||||
|
||||
<img src="<%= cloudronAvatarUrl %>" width="128px" height="128px"/>
|
||||
|
||||
<h3>Dear <%= user %>,</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>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<div style="font-size: 10px; color: #333333; background: #ffffff;">
|
||||
Powered by <a href="https://cloudron.io">Cloudron</a>
|
||||
</div>
|
||||
|
||||
</center>
|
||||
9
src/mail_templates/new_login_location-text.ejs
Normal file
9
src/mail_templates/new_login_location-text.ejs
Normal file
@@ -0,0 +1,9 @@
|
||||
Dear <%= user %>,
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Powered by https://cloudron.io
|
||||
|
||||
Sent at: <%= new Date().toUTCString() %>
|
||||
Reference in New Issue
Block a user