Merge pull request #3664 from InspectorCaracal/patch-32
Remove last_login update on disconnect
This commit is contained in:
commit
fa48cb441a
1 changed files with 0 additions and 3 deletions
|
|
@ -161,9 +161,6 @@ class ServerSession(_BASE_SESSION_CLASS):
|
||||||
account = self.account
|
account = self.account
|
||||||
if self.puppet:
|
if self.puppet:
|
||||||
account.unpuppet_object(self)
|
account.unpuppet_object(self)
|
||||||
uaccount = account
|
|
||||||
uaccount.last_login = timezone.now()
|
|
||||||
uaccount.save()
|
|
||||||
# calling account hook
|
# calling account hook
|
||||||
account.at_disconnect(reason)
|
account.at_disconnect(reason)
|
||||||
self.logged_in = False
|
self.logged_in = False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue