diff options
author | Kazuki Sawada <kazuki@6715.jp> | 2016-04-10 14:13:22 +0300 |
---|---|---|
committer | Kazuki Sawada <kazuki@6715.jp> | 2016-04-10 14:15:46 +0300 |
commit | d3b79be268a4181864557d399e4a6981b9aac123 (patch) | |
tree | 8f500ad8548f7dd4ad62179335124bd79c83c296 /user_saml | |
parent | b748ca9c381c9f2db3ce82fcb54c2686492570dd (diff) |
[fix] error on autocreating user
Diffstat (limited to 'user_saml')
-rw-r--r-- | user_saml/user_saml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_saml/user_saml.php b/user_saml/user_saml.php index 9f10c37b1..847be3b28 100644 --- a/user_saml/user_saml.php +++ b/user_saml/user_saml.php @@ -101,7 +101,7 @@ class OC_USER_SAML extends OC_User_Backend { OCP\Util::writeLog('saml','Invalid username "'.$uid.'", allowed chars "a-zA-Z0-9" and "_.@-" ',OCP\Util::DEBUG); return false; } else { - $random_password = \OC_Util::generateRandomBytes(64); + $random_password = OCP\Util::generateRandomBytes(64); OCP\Util::writeLog('saml','Creating new user: '.$uid, OCP\Util::DEBUG); \OC::$server->getUserManager()->createUser($uid, $random_password); return $uid; |