test: make it work again
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user