Commit 4874b2ee authored by Daniel STAN's avatar Daniel STAN

creer_compte_wiki.py: mdp encodé aussi

parent e2eb01f2
......@@ -42,7 +42,7 @@ def send(msg, user=user):
def creer_compte(nom, mdp, email, user=user):
form = {'action': 'crans_newaccount',
'name': nom.encode(encoding),
'password': mdp,
'password': mdp.encode(encoding),
'email': email.encode(encoding),
'create_only': 'Create+Profile'}
params = urllib.urlencode(form)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment