feat(auth): #154 send verification mails
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 52s
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 54s

This commit was merged in pull request #155.
This commit is contained in:
Tim
2024-09-07 22:51:50 +02:00
parent 89bc723427
commit a2ac449a50
13 changed files with 353 additions and 100 deletions

View File

@@ -0,0 +1,19 @@
package mail;
import "me-fit/utils"
templ Register(mailCode string) {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Welcome</title>
</head>
<body>
<h4>Thank you for Sign Up!</h4>
<p>Click <a href={ templ.URL(utils.BaseUrl + "/auth/verify-email?code=" + mailCode) }>here</a> to verify your account.</p>
<p>Kind regards</p>
</body>
</html>
}