From d5272789f4178907be797d2c9150368890b67fce Mon Sep 17 00:00:00 2001 From: Matthew Scragg Date: Fri, 4 Oct 2013 17:06:52 -0500 Subject: [PATCH] register bugfix --- realms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realms/models.py b/realms/models.py index a022f97..5f01b2e 100644 --- a/realms/models.py +++ b/realms/models.py @@ -110,7 +110,7 @@ class User(BaseModel): password=bcrypt.hashpw(password, bcrypt.gensalt(10)), avatar=gravatar_url(email)) - User.login(u.id, user.get_one(u.id, 'id')) + User.login(u.id, to_dict(user.get_one(u.id, 'id'))) @classmethod def login(cls, id, data=None):