|
|
@@ -53,7 +53,6 @@ module.exports = function(crowi) {
|
|
|
'security:registrationWhiteList' : [],
|
|
|
|
|
|
'security:isEnabledPassport' : false,
|
|
|
- 'security:externalAsLocal': false,
|
|
|
'security:passport-ldap:isEnabled' : false,
|
|
|
'security:passport-ldap:serverUrl' : undefined,
|
|
|
'security:passport-ldap:isUserBind' : undefined,
|
|
|
@@ -64,6 +63,7 @@ module.exports = function(crowi) {
|
|
|
'security:passport-ldap:groupSearchBase' : undefined,
|
|
|
'security:passport-ldap:groupSearchFilter' : undefined,
|
|
|
'security:passport-ldap:groupDnProperty' : undefined,
|
|
|
+ 'security:passport-ldap:isTreatUsernameMatchingAsIdentical': false,
|
|
|
|
|
|
'aws:bucket' : 'growi',
|
|
|
'aws:region' : 'ap-northeast-1',
|
|
|
@@ -278,9 +278,9 @@ module.exports = function(crowi) {
|
|
|
return getValueForCrowiNS(config, key);
|
|
|
};
|
|
|
|
|
|
- configSchema.statics.shouldTreatExternalAccountAsLocal = function(config)
|
|
|
+ configSchema.statics.isTreatUsernameMatchingAsIdentical = function(config)
|
|
|
{
|
|
|
- const key = 'security:externalAsLocal';
|
|
|
+ const key = 'security:passport-ldap:isTreatUsernameMatchingAsIdentical';
|
|
|
return getValueForCrowiNS(config, key);
|
|
|
};
|
|
|
|