summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/handlers.py2
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):