mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add last_login column to user table and populate upon login
This commit is contained in:
parent
0f4dc18074
commit
bb0b626cee
6 changed files with 22 additions and 2 deletions
|
|
@ -179,6 +179,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
|||
databaseInterface->updateUsersClientID(name, clientid);
|
||||
}
|
||||
|
||||
databaseInterface->updateUsersLastLoginTime(name);
|
||||
se = Server_ProtocolHandler::prepareSessionEvent(event);
|
||||
sendIsl_SessionEvent(*se);
|
||||
delete se;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue