Fix menu when gitlab is enabled
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
This commit is contained in:
1
app.js
1
app.js
@@ -198,6 +198,7 @@ app.locals.authProviders = {
|
||||
email: config.isEmailEnable,
|
||||
allowEmailRegister: config.allowEmailRegister
|
||||
}
|
||||
app.locals.enableGitlabSnippets = (!config.gitlab.scope || config.gitlab.scope === 'api')
|
||||
|
||||
app.use(require('./lib/web/baseRouter'))
|
||||
app.use(require('./lib/web/statusRouter'))
|
||||
|
||||
Reference in New Issue
Block a user