Révision 01a79e9a
Ajouté par Assos Assos il y a plus de 10 ans
htmltest/modules/openid/openid.module | ||
---|---|---|
839 | 839 |
// direct verification: ignore the openid.assoc_handle, even if present. |
840 | 840 |
// See http://openid.net/specs/openid-authentication-2_0.html#rfc.section.11.4.1 |
841 | 841 |
if (!empty($response['openid.assoc_handle']) && empty($response['openid.invalidate_handle'])) { |
842 |
$association = db_query("SELECT * FROM {openid_association} WHERE assoc_handle = :assoc_handle", array(':assoc_handle' => $response['openid.assoc_handle']))->fetchObject();
|
|
842 |
$association = db_query("SELECT * FROM {openid_association} WHERE idp_endpoint_uri = :endpoint AND assoc_handle = :assoc_handle", array(':endpoint' => $service['uri'], ':assoc_handle' => $response['openid.assoc_handle']))->fetchObject();
|
|
843 | 843 |
} |
844 | 844 |
|
845 | 845 |
if ($association && isset($association->session_type)) { |
... | ... | |
871 | 871 |
// database to avoid reusing it again on a subsequent authentication request. |
872 | 872 |
// See http://openid.net/specs/openid-authentication-2_0.html#rfc.section.11.4.2.2 |
873 | 873 |
db_delete('openid_association') |
874 |
->condition('idp_endpoint_uri', $service['uri']) |
|
874 | 875 |
->condition('assoc_handle', $response['invalidate_handle']) |
875 | 876 |
->execute(); |
876 | 877 |
} |
Formats disponibles : Unified diff
Update to drupal 7.26