mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
*gnaaarf*
This commit is contained in:
parent
cbece8b12f
commit
37cb79155e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue