fix: restructure handler yet again #181

This commit is contained in:
2024-09-18 21:49:49 +02:00
parent 2f7081c0fe
commit a41265be98
4 changed files with 39 additions and 10 deletions

View File

@@ -585,6 +585,7 @@ func HandleResetPasswordComp(db *sql.DB) http.HandlerFunc {
utils.TriggerToast(w, r, "info", "If the email exists, an email has been sent")
}
}
func sendVerificationEmail(db *sql.DB, userId string, email string) {
var token string