feat: password reset, activate token resend

This commit is contained in:
2026-05-04 09:28:28 +02:00
parent 0bbc76be1d
commit 5eafa5c1d6
8 changed files with 185 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ func (app *application) routes() http.Handler {
router.HandlerFunc(http.MethodPost, "/v1/tokens/authentication", app.createAuthenticationTokenHandler)
router.HandlerFunc(http.MethodPost, "/v1/tokens/password-reset", app.createPasswordResetTokenHandler)
router.HandlerFunc(http.MethodPost, "/v1/tokens/activation", app.createActivationTokenHandler)
router.Handler(http.MethodGet, "/debug/vars", expvar.Handler())