Commit e11278cc authored by Sonja Happ's avatar Sonja Happ
Browse files

fix typo when checking if auth external is enabled in authenticated endpoint

parent f8101977
Pipeline #417306 passed with stages
in 12 minutes and 6 seconds
......@@ -77,7 +77,7 @@ func authenticated(c *gin.Context) {
"user": user.User,
} else {
authExternal, err := configuration.GlobalConfig.Bool("auth-external")
authExternal, err := configuration.GlobalConfig.Bool("auth.external.enabled")
if err != nil {
helper.UnauthorizedError(c, "Backend configuration error")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment