some 2fa, split main into multiple files
This commit is contained in:
16
templates/2fa.html
Normal file
16
templates/2fa.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>
|
||||
Hello {{.UserName}}! This is your Two Factor Authentication code to finish logging in to {{.SiteName}}. If you did not request this code,
|
||||
please contact us immediately. This code will expire in 30 minutes.<br><br>
|
||||
<h1>Your 2FA code is: {{.Code}}</h1>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
11
templates/alert.html
Normal file
11
templates/alert.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p> Hey {{.UserName}}! Just letting you know that {{.Activity}}.<br> You can disable future notifications in your
|
||||
user settings.</p>
|
||||
</body>
|
||||
|
||||
</html>
|
12
templates/recovery.html
Normal file
12
templates/recovery.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Hello {{.UserName}}! Someone (hopefully you) has attempted an account recovery at {{.SiteName}}. If this was
|
||||
you, enter the following code to regain access: {{.RecoveryCode}}<br> If this was not you, you can safely
|
||||
ignore this email.</p>
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -7,7 +7,7 @@
|
||||
<body>
|
||||
<p>
|
||||
Hello {{.UserName}}! Welcome to {{.SiteName}}! We've created your account with the username you selected and the following password: {{.Pass}}<br>
|
||||
You can change your password to whatever you want once you log in.
|
||||
You can change your password once you log in.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user