Merge pull request #2708 from owncloud/dont_expose_installatio
Don't expose the server installation time
This commit is contained in:
commit
52fba43297
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue