Fixes in login

This commit is contained in:
Antonio de la Rosa 2025-11-24 01:17:21 +01:00
parent 6b20d046d1
commit 9f21c3a87e
14 changed files with 331 additions and 2814 deletions

View file

@ -395,13 +395,13 @@ class Utils {
//Get randomly elements from the randomly generated array.
$c=count($disorder_abc);
$c=count($disorder_abc)-1;
$password_final='';
for($x=0;$x<$length_pass;$x++) {
$num_element_pass=random_int(0, $c-1);
$num_element_pass=random_int(0, $c);
$password_final.=$disorder_abc[$num_element_pass];