We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b150b943 authored by Evan Prodromou's avatar Evan Prodromou

don't show register in login if already logged in

parent 3d310c80
......@@ -66,7 +66,8 @@ class LoginGroupNav extends Menu
_('Login with a username and password'),
$action_name === 'login');
if (!(common_config('site','closed') || common_config('site','inviteonly'))) {
if (!common_logged_in() &&
!(common_config('site','closed') || common_config('site','inviteonly'))) {
// TRANS: Menu item for registering with the StatusNet site.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment