User session tracking #93587
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user