diff --git a/composer.json b/composer.json index 258d051..bb4f565 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,9 @@ }, "require": { "php" : "^7.3|^8.0", - "jasig/phpcas": "~1.5.0", + "apereo/phpcas": "^1.6", "laravel/socialite": "^3.0|^4.0|^5.0", - "illuminate/support": "^5.6|^6.0|^7.0|^8.0|^9.0", + "illuminate/support": "^5.6|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "ramsey/collection": "^1.2" }, "require-dev": { diff --git a/src/NeupassProvider.php b/src/NeupassProvider.php index a22613a..9a50240 100644 --- a/src/NeupassProvider.php +++ b/src/NeupassProvider.php @@ -9,7 +9,7 @@ class NeupassProvider implements ProviderContract { public function __construct() { - phpCAS::client(CAS_VERSION_2_0, "pass.neu.edu.cn", 443, "tpass"); + phpCAS::client(CAS_VERSION_2_0, "pass.neu.edu.cn", 443, "tpass", url('/')); phpCAS::setNoCasServerValidation(); }