move the database and mailer to own log sub dir, add all email change logic
This commit is contained in:
parent
ddd00e3f85
commit
a783a0e663
26 changed files with 808 additions and 225 deletions
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{subject}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.verify-button {
|
||||
display: inline-block;
|
||||
background-color: #0066cc;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
border-radius: 3px;
|
||||
margin: 15px 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Email Change Verification - {{companyName}}</h1>
|
||||
<p>Hi {{displayName}},</p>
|
||||
<p>You requested to change your email address from <strong>{{currentEmail}}</strong> to <strong>{{newEmail}}</strong>.</p>
|
||||
<p>To complete this email change, please click the button below:</p>
|
||||
|
||||
<a href="{{verificationUrl}}" class="verify-button">Verify Email Change</a>
|
||||
|
||||
<p>{{willExpire}} for security reasons.</p>
|
||||
<p><strong>Important:</strong> After verification, your account email will be changed to this address and you'll need to use it for future logins.</p>
|
||||
<p>If you did not request this email change, contact {{supportEmail}} immediately.</p>
|
||||
<p>Questions? Contact {{supportEmail}}</p>
|
||||
<hr>
|
||||
<p><small>User ID: {{id}} | {{companyName}}</small></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue