Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/staging' into sqlalchemy_core_ov…
Browse files Browse the repository at this point in the history
…erhaul
  • Loading branch information
vr2262 committed Mar 2, 2015
2 parents d110b50 + c26e1c3 commit 5fccd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def post(self):
data = tornado.escape.json_decode(response.body)
if data['status'] != "okay":
raise tornado.web.HTTPError(400, "Failed assertion test")
api.user.create_user({'email': data['email']})
api.user.create_user(self.db, {'email': data['email']})
self.set_secure_cookie('user', data['email'], expires_days=None,
# secure=True,
httponly=True)
Expand Down

0 comments on commit 5fccd67

Please sign in to comment.