render auth and password pages
This commit is contained in:
parent
557dd4cb0c
commit
86fd4b73b6
4 changed files with 156 additions and 3 deletions
|
|
@ -26,6 +26,7 @@ func SetupRoutes(a *app.App) http.Handler {
|
|||
|
||||
// Auth pages
|
||||
mux.HandleFunc("GET /auth", middleware.RequireGuest(auth.AuthPage))
|
||||
mux.HandleFunc("GET /auth/password", middleware.RequireGuest(auth.PasswordPage))
|
||||
|
||||
// 404
|
||||
mux.HandleFunc("/{path...}", home.NotFoundPage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue