|
|
@@ -63,7 +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,
|
|
|
+ 'security:passport-ldap:isSameUsernameTreatedAsIdenticalUser': false,
|
|
|
|
|
|
'aws:bucket' : 'growi',
|
|
|
'aws:region' : 'ap-northeast-1',
|
|
|
@@ -278,9 +278,9 @@ module.exports = function(crowi) {
|
|
|
return getValueForCrowiNS(config, key);
|
|
|
};
|
|
|
|
|
|
- configSchema.statics.isTreatUsernameMatchingAsIdentical = function(config)
|
|
|
+ configSchema.statics.isSameUsernameTreatedAsIdenticalUser = function(config, providerType)
|
|
|
{
|
|
|
- const key = 'security:passport-ldap:isTreatUsernameMatchingAsIdentical';
|
|
|
+ const key = `security:passport-${providerType}:isSameUsernameTreatedAsIdenticalUser`;
|
|
|
return getValueForCrowiNS(config, key);
|
|
|
};
|
|
|
|