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:
9705f5d
)
Typo in create_user fixed
author
Loic Baron
<loic.baron@lip6.fr>
Thu, 14 Apr 2016 20:58:31 +0000
(22:58 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Thu, 14 Apr 2016 20:58:31 +0000
(22:58 +0200)
portal/actions.py
patch
|
blob
|
history
diff --git
a/portal/actions.py
b/portal/actions.py
index
a0509dc
..
f0bea38
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)