From 10bbff7d53119f92592b989d5e0a51d1251e3f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no> Date: Thu, 30 Mar 2017 10:23:13 +0200 Subject: [PATCH] Capitalize the default prefix for the new redis backend. --- config-templates/config.php | 2 +- lib/SimpleSAML/Store/Redis.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-templates/config.php b/config-templates/config.php index 9b69ee3ac..d9aa0f47d 100644 --- a/config-templates/config.php +++ b/config-templates/config.php @@ -1011,5 +1011,5 @@ $config = array( /* * The prefix we should use on our Redis datastore. */ - 'store.redis.prefix' => 'simpleSAMLphp', + 'store.redis.prefix' => 'SimpleSAMLphp', ); diff --git a/lib/SimpleSAML/Store/Redis.php b/lib/SimpleSAML/Store/Redis.php index 579724b95..af1b94c8b 100644 --- a/lib/SimpleSAML/Store/Redis.php +++ b/lib/SimpleSAML/Store/Redis.php @@ -24,7 +24,7 @@ class Redis extends Store $host = $config->getString('store.redis.host', 'localhost'); $port = $config->getInteger('store.redis.port', 6379); - $prefix = $config->getString('store.redis.prefix', 'simpleSAMLphp'); + $prefix = $config->getString('store.redis.prefix', 'SimpleSAMLphp'); $redis = new \Predis\Client( array( -- GitLab