Skip to content

Commit

Permalink
Fix phpunit error
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 18, 2022
1 parent 1b89976 commit e480b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/admin/security.php
Expand Up @@ -45,7 +45,7 @@
*/

if ($action == 'setgeneraterule') {
if (!dolibarr_set_const($db, 'USER_PASSWORD_GENERATED', GETPOST("value", "none"), 'chaine', 0, '', $conf->entity)) {
if (!dolibarr_set_const($db, 'USER_PASSWORD_GENERATED', GETPOST("value", "alphanohtml"), 'chaine', 0, '', $conf->entity)) {
dol_print_error($db);
} else {
header("Location: ".$_SERVER["PHP_SELF"]);
Expand Down

0 comments on commit e480b7c

Please sign in to comment.