User session tracking #93587

Merged
Oleg-Komarov merged 18 commits from user-session into main 2024-08-02 16:04:09 +02:00
Showing only changes of commit 392952e6bd - Show all commits

View File

@ -495,6 +495,7 @@ class User(AbstractBaseUser, PermissionsMixin):
is_active=False,
avatar=None,
)
self.sessions.all().delete()
@classmethod
def generate_nickname(cls, email: Optional[str] = '', full_name: Optional[str] = '') -> str: