smtp integration and password recovery.
This commit is contained in:
79
map/app/templates/email/password-recovery.html
Normal file
79
map/app/templates/email/password-recovery.html
Normal file
@@ -0,0 +1,79 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Your Password</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 8px;
|
||||
padding: 30px;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.logo {
|
||||
color: #a02c8d;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content {
|
||||
background-color: white;
|
||||
padding: 20px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.password-box {
|
||||
background-color: #f0f0f0;
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
font-family: monospace;
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.warning {
|
||||
color: #e74c3c;
|
||||
font-size: 14px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="logo">{{APP_NAME}}</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Password Recovery</h2>
|
||||
<p>Hello {{USER_NAME}},</p>
|
||||
<p>You requested your password for the account associated with <strong>{{USER_EMAIL}}</strong>.</p>
|
||||
<p>Your password is:</p>
|
||||
<div class="password-box">{{PASSWORD}}</div>
|
||||
<p>You can use this password to log in at: <a href="{{LOGIN_URL}}">{{LOGIN_URL}}</a></p>
|
||||
<p class="warning">⚠️ For security reasons, we recommend changing your password after logging in.</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>This email was sent from {{APP_NAME}} at {{TIMESTAMP}}</p>
|
||||
<p>If you didn't request this password, please contact your administrator immediately.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
15
map/app/templates/email/password-recovery.txt
Normal file
15
map/app/templates/email/password-recovery.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Password Recovery - {{APP_NAME}}
|
||||
|
||||
Hello {{USER_NAME}},
|
||||
|
||||
You requested your password for the account associated with {{USER_EMAIL}}.
|
||||
|
||||
Your password is: {{PASSWORD}}
|
||||
|
||||
You can use this password to log in at: {{LOGIN_URL}}
|
||||
|
||||
WARNING: For security reasons, we recommend changing your password after logging in.
|
||||
|
||||
---
|
||||
This email was sent from {{APP_NAME}} at {{TIMESTAMP}}
|
||||
If you didn't request this password, please contact your administrator immediately.
|
||||
Reference in New Issue
Block a user