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

Loading…
Cancel
Save