diff options
author | Marko Pušnik <marko.pusnik@guru.si> | 2015-10-21 09:42:39 +0200 |
---|---|---|
committer | Marko Pušnik <marko.pusnik@guru.si> | 2015-10-21 09:42:39 +0200 |
commit | 591dbb2ec40bb3956e71e4660aeb9d139033fb9a (patch) | |
tree | 237132573fe73975bdf868c649e5b98cfe2e192b /server | |
parent | 4cce071d7eaf4b18cc5e6c5699646aa52258cb73 (diff) |
username added to login replay
Diffstat (limited to 'server')
-rw-r--r-- | server/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/handlers.py b/server/handlers.py index a95f75e..30f52f1 100644 --- a/server/handlers.py +++ b/server/handlers.py @@ -52,7 +52,7 @@ class Login(CodeqService): request.reply({'code': 3, 'message': 'Username or password do not match'}) else: settings = session.get_settings() - request.reply({'code': 0, 'message': 'OK', 'name': name, 'email' : email, 'joined' : date_joined.isoformat(), 'last-login' : last_login.isoformat(), 'settings': settings}) + request.reply({'code': 0, 'message': 'OK', 'username': username, 'name': name, 'email' : email, 'joined' : date_joined.isoformat(), 'last-login' : last_login.isoformat(), 'settings': settings}) class Logout(CodeqService): |