Disable allow_username_or_email_login in example
The example LDAP configuration in gitlab.yml enables the allow_username_or_email_login setting. Because the effect of this setting is somewhat counterintuitive, I propose we make 'false' the example default. The settings initializer already sets this setting to 'false'.
This commit is contained in:
parent
8aca1ff003
commit
47ac48c031
|
@ -143,7 +143,7 @@ production: &base
|
||||||
#
|
#
|
||||||
# If you are using "uid: 'userPrincipalName'" on ActiveDirectory you need to
|
# If you are using "uid: 'userPrincipalName'" on ActiveDirectory you need to
|
||||||
# disable this setting, because the userPrincipalName contains an '@'.
|
# disable this setting, because the userPrincipalName contains an '@'.
|
||||||
allow_username_or_email_login: true
|
allow_username_or_email_login: false
|
||||||
|
|
||||||
# Base where we can search for users
|
# Base where we can search for users
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue