Yuto Iwata 7 лет назад
Родитель
Сommit
41a0343727
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/server/models/user.js

+ 2 - 2
src/server/models/user.js

@@ -752,8 +752,8 @@ module.exports = function(crowi) {
       newUser.setPassword(password);
     }
 
-    let Config = crowi.model('Config')
-      , config = crowi.getConfig();
+    const Config = crowi.model('Config');
+    const config = crowi.getConfig();
     const globalLang = Config.globalLang(config);
     if (globalLang != null) {
       newUser.lang = globalLang;