From 2aed83b5406384b3b09eb2b7ab4943ad434fd84e Mon Sep 17 00:00:00 2001 From: Dirk Tepe Date: Mon, 2 Sep 2024 13:55:26 -0400 Subject: [PATCH] Allow CAS_CLIENT_SERVICE to be given as comma separated string The phpCAS methods allow an array of URLs to be given for the service base. The previous implementation unnecessarily limited this package to a single string value. The package config file will now explode the value on commas, resulting in an array of possible values. --- src/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.php b/src/config/config.php index 56b1754..a58a98e 100644 --- a/src/config/config.php +++ b/src/config/config.php @@ -65,7 +65,7 @@ |-------------------------------------------------------------------------- | Example: 'http://localhost', 'https://example.com:8888' */ - 'cas_client_service' => env('CAS_CLIENT_SERVICE', 'http://localhost'), + 'cas_client_service' => explode(',', env('CAS_CLIENT_SERVICE', 'http://localhost')), /*