feat(auth): use one time token instead of user id #158
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 46s
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 51s

This commit was merged in pull request #162.
This commit is contained in:
Tim
2024-09-09 23:03:06 +02:00
parent 09ae750a32
commit a68a0ddc97
3 changed files with 53 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ templ Register(mailCode string) {
</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>Click <a href={ templ.URL(utils.BaseUrl + "/auth/verify-email?token=" + mailCode) }>here</a> to verify your account.</p>
<p>Kind regards</p>
</body>
</html>