Fix Auth0 Scope config parsing (#2007)

This commit is contained in:
Niclas Mietz 2019-09-24 11:02:34 +02:00 committed by GitHub
parent 1c7629d5a9
commit eadd27cdb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -615,7 +615,7 @@ gitlab_configure_oauth_auth0() {
OAUTH_AUTH0_DOMAIN \
OAUTH_AUTH0_SCOPE
else
exec_as_git sed -i "/name: 'auth0'/,/{{OAUTH_AUTH0_DOMAIN}}/d" ${GITLAB_CONFIG}
exec_as_git sed -i "/name: 'auth0'/,/{{OAUTH_AUTH0_SCOPE}}/d" ${GITLAB_CONFIG}
fi
}