Add back in support for remembering parameters submitted to a user-interactive auth call.

This commit is contained in:
David Baker 2015-07-15 19:28:03 +01:00
parent 8cedf3ce95
commit 4da05fa0ae
2 changed files with 13 additions and 4 deletions

View file

@ -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']