diff options
-rw-r--r-- | actions/openid_client/login.php | 2 | ||||
-rw-r--r-- | return.php | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/actions/openid_client/login.php b/actions/openid_client/login.php index 762f37f06..74a8de8f6 100644 --- a/actions/openid_client/login.php +++ b/actions/openid_client/login.php @@ -5,8 +5,6 @@ elgg_load_library('openid_consumer'); -$store = new Auth_OpenID_FileStore('/tmp'); - $consumer = new ElggOpenIDConsumer($store); $consumer->setProvider(get_input('provider')); $consumer->setReturnURL(elgg_get_site_url() . 'mod/openid_client/return.php'); diff --git a/return.php b/return.php index e53d17d7e..dbc57d318 100644 --- a/return.php +++ b/return.php @@ -15,7 +15,6 @@ elgg_load_library('openid_consumer'); elgg_load_library('openid_client');
// get user data from the response
-$store = new Auth_OpenID_FileStore('/tmp');
$consumer = new ElggOpenIDConsumer($store);
$url = elgg_get_site_url() . 'mod/openid_client/return.php';
$consumer->setReturnURL($url);
|