X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=portal%2Factions.py;h=a0509dcf29bf14df3fb32bcd0277f9cfd3718324;hp=516f96351acfa80818f442fe04b7441945f6676e;hb=9705f5da9de332ff1a4f2964bc0f617c6982778a;hpb=41504e78eb87c92088f526536bce08aabb343087 diff --git a/portal/actions.py b/portal/actions.py index 516f9635..a0509dcf 100644 --- a/portal/actions.py +++ b/portal/actions.py @@ -1287,7 +1287,7 @@ def create_pending_user(wsgi_request, request, user_detail): # saves the user to django auth_user table [needed for password reset] # Django username must be less than 30 char so we use a hash - user = User.objects.create_user(hashlib.sha1(request['email'].hexdigest(), request['email'], request['password']) + user = User.objects.create_user(hashlib.sha1(request['email'].hexdigest()), request['email'], request['password']) # Creating a manifold user user_id = manifold_add_user(wsgi_request, request)