summaryrefslogtreecommitdiff
path: root/server/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/handlers.py')
-rw-r--r--server/handlers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/handlers.py b/server/handlers.py
index b59b282..5e06463 100644
--- a/server/handlers.py
+++ b/server/handlers.py
@@ -55,7 +55,7 @@ class Login(CodeqService):
username = js.get('username')
password = js.get('password')
try:
- name, email, is_admin, date_joined, last_login = request.session.login(username, password)
+ name, email, is_admin, date_joined, last_login, experiments = request.session.login(username, password)
except AuthenticationFailed:
request.reply({'code': 1, 'message': 'Wrong username or password'})
else:
@@ -69,7 +69,8 @@ class Login(CodeqService):
'admin': is_admin,
'joined': date_joined.isoformat(),
'last-login': last_login.isoformat(),
- 'settings': settings
+ 'settings': settings,
+ 'experiments': experiments,
})