froxlor / Froxlor

The server administration software for your needs - The official Froxlor development Git repository
http://www.froxlor.org
GNU General Public License v2.0
1.63k stars 458 forks source link

Exception on mail account password update #1172

Closed hgassen closed 1 year ago

hgassen commented 1 year ago

As a rule of thumb: before reporting an issue

Describe the bug A clear and concise description of what the bug is.

System information

To Reproduce Steps to reproduce the behavior:

Uncaught exception0 Undefined constant "Froxlor\Api\Commands\PASSWORD_ARGON2I"

0 /var/www/froxlor/customer_email.php(389): Froxlor\Api\Commands\EmailAccounts->update()

1 {main}"

Expected behavior Confirmation of pw update

d00p commented 1 year ago

PASSWORD_ARGON2I is available since php7.2 and froxlor requires 7.4, see https://www.php.net/manual/en/password.constants.php. I was not able to reproduce this on the demo (which is also debian 12)

hgassen commented 1 year ago

I tested with a custom PHP version that was compiled without --with-password-argon2. It works with the default PHP version. Thank you.