This reverts commit 55efeb0c02.
This commit is contained in:
@@ -117,8 +117,7 @@ func (hs *HTTPServer) Init() error {
|
||||
|
||||
hs.macaron = hs.newMacaron()
|
||||
hs.registerRoutes()
|
||||
|
||||
return nil
|
||||
return hs.declareFixedRoles()
|
||||
}
|
||||
|
||||
func (hs *HTTPServer) AddMiddleware(middleware macaron.Handler) {
|
||||
|
||||
Reference in New Issue
Block a user