Fixes in login
This commit is contained in:
parent
6b20d046d1
commit
9f21c3a87e
14 changed files with 331 additions and 2814 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue