瀏覽代碼

Fixed incorrect method calls when handling a revocation

master
Chris Smith 12 年之前
父節點
當前提交
6991d67763
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      processor.php

+ 2
- 2
processor.php 查看文件

@@ -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…
取消
儲存