creer_compte_wiki.py: mdp encodé aussi
This commit is contained in:
parent
e2eb01f2aa
commit
4874b2eebc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue