LSsession: Fix PHP < 7 syntax error

This commit is contained in:
Benjamin Renard 2020-05-12 20:20:11 +02:00
parent f1ce6380b9
commit db710efb87

View file

@ -986,7 +986,7 @@ class LSsession {
$pwd_attr = $user -> attrs[$pwd_attr_name];
$pwd = generatePassword(
$pwd_attr -> getConfig('html_options.chars'),
$pwd_attr -> getConfig('html_options.lenght'),
$pwd_attr -> getConfig('html_options.lenght')
);
self :: log_debug("recoverPasswdSecondStep($user): new password = '$pwd'.");
$lostPasswdForm = $user -> getForm('lostPassword');