fix: HA reload group guest expiration
This commit is contained in:
parent
405187b8e0
commit
cf81ad910d
@ -281,7 +281,7 @@ module.exports = {
|
|||||||
async reloadGroups () {
|
async reloadGroups () {
|
||||||
const groupsArray = await WIKI.models.groups.query()
|
const groupsArray = await WIKI.models.groups.query()
|
||||||
this.groups = _.keyBy(groupsArray, 'id')
|
this.groups = _.keyBy(groupsArray, 'id')
|
||||||
WIKI.auth.guest = await WIKI.models.users.getGuestUser()
|
WIKI.auth.guest.cacheExpiration = moment.utc().subtract(1, 'd')
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user