Add last_login column to user table and populate upon login

This commit is contained in:
woogerboy21 2015-08-15 02:56:10 -04:00
parent 0f4dc18074
commit bb0b626cee
6 changed files with 22 additions and 2 deletions

View file

@ -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;