feat(auth): use one time token instead of user id #158

This commit is contained in:
2024-09-09 23:03:06 +02:00
parent 68392ab76f
commit f1b249236f
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>