summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-04-04 01:27:13 +0300
committerLukas Reschke <lukas@statuscode.ch>2013-04-04 01:27:13 +0300
commit37cb79155e1e168eb348036a96947f84a86ee5c1 (patch)
tree02c6f79b07540298bd62faec742f1bbaa92c57dd /lib/user.php
parentcbece8b12ff50d625f526e0a1cc6345159b62eaa (diff)
downloadnextcloud-server-37cb79155e1e168eb348036a96947f84a86ee5c1.tar.gz
nextcloud-server-37cb79155e1e168eb348036a96947f84a86ee5c1.zip
*gnaaarf*
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php2
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);
}
/**