Test protected page
This commit is contained in:
@ -57,6 +57,7 @@ func initRouter(app *fiber.App) {
|
||||
app.Get("/login", handlers.Login)
|
||||
app.Post("/login", handlers.LoginSubmit)
|
||||
app.Get("/logout", handlers.Logout)
|
||||
app.Get("/protected-page", handlers.ProtectedPage)
|
||||
|
||||
app.Static("/static", STATIC_PATH)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user