diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-10 22:07:33 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-10 22:07:33 +0100 |
commit | e01a488b3136ec7b0f2614cd49e4cf1afce1f655 (patch) | |
tree | 39354b0faa1b5a74a85aac044ba302163d2f701d /lib/private/setup/oci.php | |
parent | 656b5418996744b5ba095afac59b4fdb4db37337 (diff) | |
download | nextcloud-server-e01a488b3136ec7b0f2614cd49e4cf1afce1f655.tar.gz nextcloud-server-e01a488b3136ec7b0f2614cd49e4cf1afce1f655.zip |
Remove generateRandomBytes from OC_Util
Diffstat (limited to 'lib/private/setup/oci.php')
-rw-r--r-- | lib/private/setup/oci.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/setup/oci.php b/lib/private/setup/oci.php index e5634572d90..d335df850cf 100644 --- a/lib/private/setup/oci.php +++ b/lib/private/setup/oci.php @@ -106,7 +106,7 @@ class OCI extends AbstractDatabase { //add prefix to the oracle user name to prevent collisions $this->dbUser='oc_'.$username; //create a new password so we don't need to store the admin config in the config file - $this->dbPassword=\OC_Util::generateRandomBytes(30); + $this->dbPassword = \OC::$server->getSecureRandom()->generate(30, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS); //oracle passwords are treated as identifiers: // must start with alphanumeric char |