Browse Source

Fixed incorrect method calls when handling a revocation

master
Chris Smith 12 years ago
parent
commit
6991d67763
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      processor.php

+ 2
- 2
processor.php View File

@@ -233,10 +233,10 @@
233 233
 
234 234
   if (KEYMANAGER && isset($_REQUEST['openid_invalidate_handle'])) {
235 235
    Logger::log('Request to invalidate handle received');
236
-   $valid = KeyManager::dumbAuth();
236
+   $valid = KeyManager::dumbAuthenticate();
237 237
 
238 238
    if ($valid) {
239
-    KeyManager::removeKey($_SESSION['openid']['endpointUrl'], $_REQUEST['openid_invalidate_handle']);
239
+    KeyManager::revokeHandle($_SESSION['openid']['endpointUrl'], $_REQUEST['openid_invalidate_handle']);
240 240
    } else {
241 241
     error('noauth', 'Provider didn\'t authenticate message');
242 242
    }

Loading…
Cancel
Save