test: make it work again

This commit is contained in:
Girish Ramakrishnan
2025-06-11 14:44:27 +02:00
parent 7744568eb8
commit 8fc9685a1b
3 changed files with 4 additions and 6 deletions
-2
View File
@@ -300,8 +300,6 @@ async function setGhost(user, password, expiresAt) {
expiresAt = expiresAt || (Date.now() + DEFAULT_GHOST_LIFETIME);
debug(`setGhost: ${user.username} expiresAt ${expiresAt}`);
const ghostData = await settings.getJson(settings.GHOSTS_CONFIG_KEY) || {};
ghostData[user.username] = { password, expiresAt };