aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/openid_client/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/openid_client/login.php b/actions/openid_client/login.php
index 305ea3110..762f37f06 100644
--- a/actions/openid_client/login.php
+++ b/actions/openid_client/login.php
@@ -8,7 +8,7 @@ elgg_load_library('openid_consumer');
$store = new Auth_OpenID_FileStore('/tmp');
$consumer = new ElggOpenIDConsumer($store);
-$consumer->setProvider('google');
+$consumer->setProvider(get_input('provider'));
$consumer->setReturnURL(elgg_get_site_url() . 'mod/openid_client/return.php');
$html = $consumer->requestAuthentication();