Przeglądaj źródła

set null for password seed

itizawa 6 lat temu
rodzic
commit
e3a03200a4
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/server/service/export.js

+ 2 - 1
src/server/service/export.js

@@ -78,11 +78,12 @@ class ExportService {
   async createMetaJson() {
     const metaJson = path.join(this.baseDir, this.growiBridgeService.getMetaFileName());
     const writeStream = fs.createWriteStream(metaJson, { encoding: this.growiBridgeService.getEncoding() });
+    const passwordSeed = this.crowi.env.PASSWORD_SEED || null;
 
     const metaData = {
       version: this.crowi.version,
       url: this.appService.getSiteUrl(),
-      passwordSeed: this.crowi.env.PASSWORD_SEED,
+      passwordSeed,
       exportedAt: new Date(),
       envVars: this.configLoader.getEnvVarsForDisplay(),
     };