Admin: Fix password checker for php >= 8.0 complement -refs BT#20509

pull/4593/head
NicoDucou 3 years ago
parent 2fae2e2984
commit 1491e42c66
  1. 2
      main/inc/lib/api.lib.php

@ -2646,7 +2646,7 @@ function api_check_password($password)
$digits++;
}
if (false !== strpos(Security::CHAR_SYMBOLS, $currentCharacterCode)) {
if (false !== strpos(Security::CHAR_SYMBOLS, $currentCharacter)) {
$specials++;
}
}

Loading…
Cancel
Save