From: Chimo Date: Mon, 4 Jan 2016 15:36:05 +0000 (-0500) Subject: OpenID plugin: 'openid_only' should be 'openidonly' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bf0df016e568c2079c0842490aa52a6ddb4e9ca2;p=quix0rs-gnu-social.git OpenID plugin: 'openid_only' should be 'openidonly' To match everywhere else. --- diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index 2e9ada9806..4e5a0bfe0c 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -414,7 +414,7 @@ class OpenIDPlugin extends Plugin */ function onRedirectToLogin($action, $user) { - if (common_config('site', 'openid_only') || (!empty($user) && User_openid::hasOpenID($user->id))) { + if (common_config('site', 'openidonly') || (!empty($user) && User_openid::hasOpenID($user->id))) { common_redirect(common_local_url('openidlogin'), 303); } return true;