Jelajahi Sumber

for FB. change let to const.

Yuto Iwata 7 tahun lalu
induk
melakukan
41a0343727
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;