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
Pipeline #7639 failed with stage
in 0 seconds
...@@ -52,7 +52,7 @@ if not login.hasPassword(): ...@@ -52,7 +52,7 @@ if not login.hasPassword():
credential_recovery.submit() credential_recovery.submit()
else: else:
# system should generate a password # system should generate a password
password = context.Person_generatePassword(alpha=5, numeric=3) password = context.Person_generatePassword()
login.setPassword(password) login.setPassword(password)
# create a global account # 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