*gnaaarf*
This commit is contained in:
parent
cbece8b12f
commit
37cb79155e
|
@ -386,7 +386,7 @@ class OC_User {
|
|||
* generates a password
|
||||
*/
|
||||
public static function generatePassword() {
|
||||
return uniqId();
|
||||
return OC_Util::generate_random_bytes(30);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue