Browse Source

Increase auto-generated passwords to 12 chars + leading capital

pull/6356/head
Hypolite Petovan 3 years ago
parent
commit
909c9d0309
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Model/User.php

+ 1
- 1
src/Model/User.php View File

@ -280,7 +280,7 @@ class User
*/
public static function generateNewPassword()
{
return Strings::getRandomName(6) . mt_rand(100, 9999);
return ucfirst(Strings::getRandomName(8)) . mt_rand(1000, 9999);
}
/**


Loading…
Cancel
Save