From cf81ad910da4437e68aca36599384cf37adb32e3 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 19 Apr 2020 22:44:51 -0400 Subject: [PATCH] fix: HA reload group guest expiration --- server/core/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/auth.js b/server/core/auth.js index 8f1d3cc0..379f59b8 100644 --- a/server/core/auth.js +++ b/server/core/auth.js @@ -281,7 +281,7 @@ module.exports = { async reloadGroups () { const groupsArray = await WIKI.models.groups.query() this.groups = _.keyBy(groupsArray, 'id') - WIKI.auth.guest = await WIKI.models.users.getGuestUser() + WIKI.auth.guest.cacheExpiration = moment.utc().subtract(1, 'd') }, /**