diff --git a/src/authStrategies/RemoteAuth.js b/src/authStrategies/RemoteAuth.js index f84ba59..99e688b 100644 --- a/src/authStrategies/RemoteAuth.js +++ b/src/authStrategies/RemoteAuth.js @@ -41,7 +41,7 @@ class RemoteAuth extends BaseAuthStrategy { this.clientId = clientId; this.backupSyncIntervalMs = backupSyncIntervalMs; this.dataPath = path.resolve(dataPath || './.wwebjs_auth/'); - this.tempDir = `${this.dataPath}/wwebjs_temp_session`; + this.tempDir = `${this.dataPath}/wwebjs_temp_session_${this.clientId}`; this.requiredDirs = ['Default', 'IndexedDB', 'Local Storage']; /* => Required Files & Dirs in WWebJS to restore session */ }