mirror of https://github.com/MISP/MISP
must be sleepy...holliday effect?
parent
ff2f08f60d
commit
b8dcc4d00a
|
@ -326,7 +326,7 @@ class User extends AppModel {
|
|||
return $key;
|
||||
}
|
||||
|
||||
private function generateRandomPassword() {
|
||||
public function generateRandomPassword() {
|
||||
$length = 12;
|
||||
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-+=!@#$%&*()<>/?';
|
||||
$charLen = strlen($characters) - 1;
|
||||
|
|
Loading…
Reference in New Issue