summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-07-15 19:28:03 +0100
committerDavid Baker <dave@matrix.org>2015-07-15 19:28:57 +0100
commit4da05fa0ae32425ce2755dcd479bb4c97f43b30e (patch)
tree9a93f7ca85e2e08a2e41d17faa47c2a04d824c7b /synapse/handlers
parentbump up image quality a bit more as it looks crap (diff)
downloadsynapse-4da05fa0ae32425ce2755dcd479bb4c97f43b30e.tar.xz
Add back in support for remembering parameters submitted to a user-interactive auth call.
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/auth.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 63071653a3..1ecf7fef17 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -85,8 +85,10 @@ class AuthHandler(BaseHandler):
             # email auth link on there). It's probably too open to abuse
             # because it lets unauthenticated clients store arbitrary objects
             # on a home server.
-            # sess['clientdict'] = clientdict
-            # self._save_session(sess)
+            # Revisit: Assumimg the REST APIs do sensible validation, the data
+            # isn't arbintrary.
+            sess['clientdict'] = clientdict
+            self._save_session(sess)
             pass
         elif 'clientdict' in sess:
             clientdict = sess['clientdict']