make def password length 50 chars

This commit is contained in:
Arya Kiran 2022-11-22 18:43:40 +05:30
parent 084706c221
commit 0aba6ba71a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$randomString = '';
for ($i = 0; $i < 10; $i++) {
for ($i = 0; $i < 50; $i++) {
$index = rand(0, strlen($characters) - 1);
$randomString .= $characters[$index];
}