Daisuke Takahashi пре 6 година
родитељ
комит
e27d677e68
1 измењених фајлова са 0 додато и 5 уклоњено
  1. 0 5
      src/server/models/config.js

+ 0 - 5
src/server/models/config.js

@@ -347,11 +347,6 @@ module.exports = function(crowi) {
     return getValueForCrowiNS(config, key);
   };
 
-  configSchema.statics.isSameUsernameTreatedAsIdenticalUser = function(config, providerType) {
-    const key = `security:passport-${providerType}:isSameUsernameTreatedAsIdenticalUser`;
-    return getValueForCrowiNS(config, key);
-  };
-
   configSchema.statics.isUploadable = function(config) {
     const method = process.env.FILE_UPLOAD || 'aws';