diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-04 00:46:24 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-04-04 00:46:24 -0700 |
commit | 866221a01268c0783a1a759741b778332a7692d2 (patch) | |
tree | 02c6f79b07540298bd62faec742f1bbaa92c57dd | |
parent | cbece8b12ff50d625f526e0a1cc6345159b62eaa (diff) | |
parent | 37cb79155e1e168eb348036a96947f84a86ee5c1 (diff) | |
download | nextcloud-server-866221a01268c0783a1a759741b778332a7692d2.tar.gz nextcloud-server-866221a01268c0783a1a759741b778332a7692d2.zip |
Merge pull request #2707 from owncloud/remove_brainfucked_method
Use more random source
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 6144f0f6bf9..33e25268175 100644 --- a/lib/user.php +++ b/lib/user.php @@ -386,7 +386,7 @@ class OC_User { * generates a password */ public static function generatePassword() { - return uniqId(); + return OC_Util::generate_random_bytes(30); } /** |