Refactor name
This commit is contained in:
1 parent
eb36156c52
commit
606f5df45a
2 files changed
+4
-4
No files matched your search
@@ -15,6 +15,6 @@ func PostRoutes(app *app.App) {
|
||||
}
|
||||
|
||||
// User authentication
|
||||
http.HandleFunc("/register-handle", middleware.CsrfMiddleware(postController.Register))
|
||||
http.HandleFunc("/login-handle", middleware.CsrfMiddleware(postController.Login))
|
||||
http.HandleFunc("/register-handle", middleware.Csrf(postController.Register))
|
||||
http.HandleFunc("/login-handle", middleware.Csrf(postController.Login))
|
||||
}
|
||||
Reference in new issue
Block a user