Skip to content

Commit

Permalink
新版 phpcas 依赖写法
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwx committed May 28, 2024
1 parent e9798da commit 92c5db5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/NeupassProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 92c5db5

Please sign in to comment.