forked from GNUsocial/gnu-social
OpenID plugin: 'openid_only' should be 'openidonly'
To match everywhere else.
This commit is contained in:
parent
de7e8c59e8
commit
bf0df016e5
@ -414,7 +414,7 @@ class OpenIDPlugin extends Plugin
|
|||||||
*/
|
*/
|
||||||
function onRedirectToLogin($action, $user)
|
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);
|
common_redirect(common_local_url('openidlogin'), 303);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user