sessions #2

Merged
admin merged 63 commits from sessions into main 2025-06-16 19:03:01 +02:00
24 changed files with 1112 additions and 55 deletions
Showing only changes of commit ef05d66787 - Show all commits

View File

@ -96,6 +96,7 @@ func (h *AuthHandler) RegisterRoutes(api chi.Router) {
protected.Post("/email", h.requestEmailOtp) protected.Post("/email", h.requestEmailOtp)
protected.Post("/email/otp", h.confirmOtp) protected.Post("/email/otp", h.confirmOtp)
protected.Post("/verify", h.finishVerification) protected.Post("/verify", h.finishVerification)
protected.Post("/signout", h.signOut)
}) })
r.Post("/login", h.login) r.Post("/login", h.login)