Added forgot password form.

This commit is contained in:
mikestefanello 2021-12-14 21:59:56 -05:00
parent 6ec1b77684
commit 0546a1b089
5 changed files with 81 additions and 3 deletions

View file

@ -99,4 +99,8 @@ func userRoutes(g *echo.Group, ctr controller.Controller) {
register := Register{Controller: ctr}
noAuth.GET("/register", register.Get).Name = "register"
noAuth.POST("/register", register.Post).Name = "register.post"
forgot := ForgotPassword{Controller: ctr}
noAuth.GET("/password", forgot.Get).Name = "forgot_password"
noAuth.POST("/password", forgot.Post).Name = "forgot_password.post"
}