clear user cache when user expires
This commit is contained in:
@@ -113,6 +113,7 @@ func (app *appContext) checkUsers() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
delete(app.storage.users, id)
|
delete(app.storage.users, id)
|
||||||
|
app.jf.CacheExpiry = time.Now()
|
||||||
if email {
|
if email {
|
||||||
address, ok := app.storage.emails[id]
|
address, ok := app.storage.emails[id]
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user