feat(auth): change password user self service #171
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 58s
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 58s
This commit is contained in:
@@ -33,11 +33,13 @@ func getHandler(db *sql.DB) http.Handler {
|
||||
router.Handle("/auth/verify", service.HandleSignUpVerifyPage(db)) // Hint for the user to verify their email
|
||||
router.Handle("/auth/delete-account", service.HandleDeleteAccountPage(db))
|
||||
router.Handle("/auth/verify-email", service.HandleSignUpVerifyResponsePage(db)) // The link contained in the email
|
||||
router.Handle("/auth/change-password", service.HandleChangePasswordPage(db))
|
||||
router.Handle("/api/auth/signup", service.HandleSignUpComp(db))
|
||||
router.Handle("/api/auth/signin", service.HandleSignInComp(db))
|
||||
router.Handle("/api/auth/signout", service.HandleSignOutComp(db))
|
||||
router.Handle("/api/auth/delete-account", service.HandleDeleteAccountComp(db))
|
||||
router.Handle("/api/auth/verify-resend", service.HandleVerifyResendComp(db))
|
||||
router.Handle("/api/auth/change-password", service.HandleChangePasswordComp(db))
|
||||
|
||||
return middleware.Logging(middleware.EnableCors(router))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user