some 2fa, split main into multiple files

This commit is contained in:
Your Name
2023-09-26 16:36:03 -04:00
parent 266e16a060
commit f3cc9cdeed
8 changed files with 382 additions and 225 deletions

16
templates/2fa.html Normal file
View 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>