Skip to content

Commit 52d3082

Browse files
committed
Corrects Util class namespace.
1 parent 4ea2ad3 commit 52d3082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hooks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static public function post_login($parameters) {
7070
return false;
7171
}
7272
else {
73-
$random_password = OC_Util::generateRandomBytes(20);
73+
$random_password = \OCP\Util::generateRandomBytes(20);
7474
\OCP\Util::writeLog('cas','Creating new user: '.$uid, \OCP\Util::DEBUG);
7575
$userDatabase->createUser($uid, $random_password);
7676

0 commit comments

Comments
 (0)