mirror of
https://github.com/nextcloud/server.git
synced 2024-09-10 15:16:45 +02:00
*gnaaarf*
This commit is contained in:
parent
cbece8b12f
commit
37cb79155e
@ -386,7 +386,7 @@ class OC_User {
|
|||||||
* generates a password
|
* generates a password
|
||||||
*/
|
*/
|
||||||
public static function generatePassword() {
|
public static function generatePassword() {
|
||||||
return uniqId();
|
return OC_Util::generate_random_bytes(30);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user