diff options
Diffstat (limited to 'mediagoblin/auth/views.py')
-rw-r--r-- | mediagoblin/auth/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/auth/views.py b/mediagoblin/auth/views.py index dab95b17..f8e84285 100644 --- a/mediagoblin/auth/views.py +++ b/mediagoblin/auth/views.py @@ -81,7 +81,7 @@ def register(request): # Create the user user = request.db.User() user.username = username - user['email'] = email + user.email = email user['pw_hash'] = auth_lib.bcrypt_gen_password_hash( request.POST['password']) user.save(validate=True) |