Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only
This commit is contained in:
parent
7dc3a90d12
commit
75a0a3e18b
@ -443,8 +443,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
}
|
}
|
||||||
$this->menuItem(common_local_url('login'),
|
$this->menuItem(common_local_url('login'),
|
||||||
_('Login'), _('Login to the site'), false, 'nav_login');
|
_('Login'), _('Login to the site'), false, 'nav_login');
|
||||||
}
|
} else {
|
||||||
if (common_config('openid', 'enabled')) {
|
|
||||||
$this->menuItem(common_local_url('openidlogin'),
|
$this->menuItem(common_local_url('openidlogin'),
|
||||||
_('OpenID'), _('Login with OpenID'), false, 'nav_openid');
|
_('OpenID'), _('Login with OpenID'), false, 'nav_openid');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user