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'),
|
||||
_('Login'), _('Login to the site'), false, 'nav_login');
|
||||
}
|
||||
if (common_config('openid', 'enabled')) {
|
||||
} else {
|
||||
$this->menuItem(common_local_url('openidlogin'),
|
||||
_('OpenID'), _('Login with OpenID'), false, 'nav_openid');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user