clear user cache when user expires

pull/97/head
Harvey Tindall 3 years ago
parent 754b956206
commit 7dcc9b20a1
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -113,6 +113,7 @@ func (app *appContext) checkUsers() {
continue
}
delete(app.storage.users, id)
app.jf.CacheExpiry = time.Now()
if email {
address, ok := app.storage.emails[id]
if !ok {

Loading…
Cancel
Save