aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/settings/lib/SetupChecks/MemcacheConfigured.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/SetupChecks/MemcacheConfigured.php b/apps/settings/lib/SetupChecks/MemcacheConfigured.php
index 65151591fbf..e3601d428bb 100644
--- a/apps/settings/lib/SetupChecks/MemcacheConfigured.php
+++ b/apps/settings/lib/SetupChecks/MemcacheConfigured.php
@@ -60,7 +60,7 @@ class MemcacheConfigured implements ISetupCheck {
}
if ($this->cacheFactory->isLocalCacheAvailable()) {
- $random = random_bytes(64);
+ $random = bin2hex(random_bytes(64));
$local = $this->cacheFactory->createLocal('setupcheck.local');
try {
$local->set('test', $random);
@@ -77,7 +77,7 @@ class MemcacheConfigured implements ISetupCheck {
}
if ($this->cacheFactory->isAvailable()) {
- $random = random_bytes(64);
+ $random = bin2hex(random_bytes(64));
$distributed = $this->cacheFactory->createDistributed('setupcheck');
try {
$distributed->set('test', $random);