OpenID plugin: 'openid_only' should be 'openidonly'

To match everywhere else.
This commit is contained in:
Chimo 2016-01-04 10:36:05 -05:00
parent de7e8c59e8
commit bf0df016e5

View File

@ -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;