Skip to content

Commit

Permalink
Allow CAS_CLIENT_SERVICE to be given as comma separated string
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tepeds committed Sep 2, 2024
1 parent d995cd7 commit 2aed83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')),


/*
Expand Down

0 comments on commit 2aed83b

Please sign in to comment.