Ver código fonte

Fixed incorrect method calls when handling a revocation

master
Chris Smith 12 anos atrás
pai
commit
6991d67763
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      processor.php

+ 2
- 2
processor.php Ver arquivo

@@ -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
    }

Carregando…
Cancelar
Salvar