diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-04 00:48:55 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-04-04 00:48:55 -0700 |
commit | 52fba43297aaef84dc85636380ecb4ca224d359d (patch) | |
tree | 8da7449bd3219af2e9bd0645725059150424e59e | |
parent | 2f1962940785eb4aeb781d4c08fa19b8bc407050 (diff) | |
parent | 877ff9358f084368c74c04048317023b8c160db2 (diff) | |
download | nextcloud-server-52fba43297aaef84dc85636380ecb4ca224d359d.tar.gz nextcloud-server-52fba43297aaef84dc85636380ecb4ca224d359d.zip |
Merge pull request #2708 from owncloud/dont_expose_installatio
Don't expose the server installation time
-rwxr-xr-x | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 1fa3ad765d0..c9b12baa4da 100755 --- a/lib/util.php +++ b/lib/util.php @@ -419,7 +419,7 @@ class OC_Util { $id = OC_Config::getValue('instanceid', null); if(is_null($id)) { // We need to guarantee at least one letter in instanceid so it can be used as the session_name - $id = 'oc' . uniqid(); + $id = 'oc' . OC_Util::generate_random_bytes(10); OC_Config::setValue('instanceid', $id); } return $id; |