This commit is contained in:
parent
e14b693c57
commit
d40640a648
1 changed files with 3 additions and 3 deletions
|
|
@ -47,9 +47,9 @@ func (h *Auth) Routes(g *echo.Group) {
|
||||||
|
|
||||||
noAuth := g.Group("/user", middleware.RequireNoAuthentication)
|
noAuth := g.Group("/user", middleware.RequireNoAuthentication)
|
||||||
noAuth.GET("/login", h.LoginPage).Name = routenames.Login
|
noAuth.GET("/login", h.LoginPage).Name = routenames.Login
|
||||||
noAuth.POST("/login", h.LoginSubmit).Name = routenames.LoginSubmit
|
// noAuth.POST("/login", h.LoginSubmit).Name = routenames.LoginSubmit
|
||||||
noAuth.GET("/register", h.RegisterPage).Name = routenames.Register
|
// noAuth.GET("/register", h.RegisterPage).Name = routenames.Register
|
||||||
noAuth.POST("/register", h.RegisterSubmit).Name = routenames.RegisterSubmit
|
// noAuth.POST("/register", h.RegisterSubmit).Name = routenames.RegisterSubmit
|
||||||
noAuth.GET("/password", h.ForgotPasswordPage).Name = routenames.ForgotPassword
|
noAuth.GET("/password", h.ForgotPasswordPage).Name = routenames.ForgotPassword
|
||||||
noAuth.POST("/password", h.ForgotPasswordSubmit).Name = routenames.ForgotPasswordSubmit
|
noAuth.POST("/password", h.ForgotPasswordSubmit).Name = routenames.ForgotPasswordSubmit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue