From bf0df016e568c2079c0842490aa52a6ddb4e9ca2 Mon Sep 17 00:00:00 2001 From: Chimo Date: Mon, 4 Jan 2016 10:36:05 -0500 Subject: [PATCH] OpenID plugin: 'openid_only' should be 'openidonly' To match everywhere else. --- plugins/OpenID/OpenIDPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5