Backend: Adds route for well-known change password URL (#28788)

* Backend: Adds route for well-known change password URL

* Include 'dashboard/new' in backend routes

* Move index route handler registration out of "not logged in views" section

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
kay delaney
2020-11-10 22:36:35 +00:00
committed by GitHub
co-authored by Arve Knudsen
parent 27ea268f80
commit b2dcf06b60
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ func (hs *HTTPServer) applyRoutes() {
// then custom app proxy routes
hs.initAppPluginRoutes(hs.macaron)
// lastly not found route
hs.macaron.NotFound(hs.NotFoundHandler)
hs.macaron.NotFound(middleware.ReqSignedIn, hs.NotFoundHandler)
}
func (hs *HTTPServer) addMiddlewaresAndStaticRoutes() {