summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-08-18 21:26:04 +0000
committertailor <cygnus@janrain.com>2006-08-18 21:26:04 +0000
commitaf711b36b5b29f47c780356b8c162e376cb0ddb3 (patch)
tree38e46fa26d196dab24eb9fde6a4a49cda7a84995
parent0ca58555b2338cf12590b6e3d88cb66dd6202f9f (diff)
downloadphp-openid-af711b36b5b29f47c780356b8c162e376cb0ddb3.zip
php-openid-af711b36b5b29f47c780356b8c162e376cb0ddb3.tar.gz
php-openid-af711b36b5b29f47c780356b8c162e376cb0ddb3.tar.bz2
[project @ Fixed endpoint server ID check]
-rw-r--r--Auth/OpenID/Consumer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index a7759ab..b32e429 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -522,7 +522,7 @@ class Auth_OpenID_GenericConsumer {
"Missing required field");
}
- if ($endpoint->delegate != $server_id2) {
+ if ($endpoint->getServerID() != $server_id2) {
return new Auth_OpenID_FailureResponse($endpoint,
"Server ID (delegate) mismatch");
}