fix: HA reload group guest expiration

pull/1749/head
NGPixel 5 years ago committed by Nicolas Giard
parent 405187b8e0
commit cf81ad910d

@ -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')
},
/**

Loading…
Cancel
Save