git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41504e7
)
typo in actions
author
Loic Baron
<loic.baron@lip6.fr>
Wed, 6 Apr 2016 12:19:31 +0000
(14:19 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Wed, 6 Apr 2016 12:19:31 +0000
(14:19 +0200)
portal/actions.py
patch
|
blob
|
history
diff --git
a/portal/actions.py
b/portal/actions.py
index
516f963
..
a0509dc
100644
(file)
--- 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
# 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)
# Creating a manifold user
user_id = manifold_add_user(wsgi_request, request)