Commit f25ef810 authored by Jérome Perrin's avatar Jérome Perrin

credential: follow Person_generatePassword API change

This script no longer allow to control the number of letters and digit
parent 201a596c
......@@ -52,7 +52,7 @@ if not login.hasPassword():
credential_recovery.submit()
else:
# system should generate a password
password = context.Person_generatePassword(alpha=5, numeric=3)
password = context.Person_generatePassword()
login.setPassword(password)
# create a global account
......
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