Refactor name

This commit is contained in:
Maximilian
2023-07-22 23:37:38 -05:00
parent eb36156c52
commit 606f5df45a
2 changed files with 4 additions and 4 deletions

View File

@ -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))
}