mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Fix clearing of user sessions.
Previously, we weren't clearing the users out of memcached (we just killed them in the database), so in fact users were not logged out when we deactivated them for an hour (when the memcached caches would expire). (imported from commit 0f0a2f70e003c184106c73b22b876f57c1ef3371)
This commit is contained in:
@@ -4,7 +4,7 @@ import sys
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from zephyr.lib.actions import do_deactivate, user_sessions
|
||||
from zephyr.lib.actions import do_deactivate
|
||||
from zephyr.lib import utils
|
||||
from zephyr.models import UserMessage, get_user_profile_by_email
|
||||
from django.db import transaction, models
|
||||
|
||||
Reference in New Issue
Block a user