diff options
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 3fa8d8672..f99f6501f 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -796,7 +796,7 @@ function auth_pwgen($foruser = '') { $data['password'] .= $a[auth_random(0, strlen($a) - 1)]; } //... and add a nice number and special - $data['password'] .= auth_random(10, 99).$s[auth_random(0, strlen($s) - 1)]; + $data['password'] .= $s[auth_random(0, strlen($s) - 1)].auth_random(10, 99); } $evt->advise_after(); |