diff --git a/tildes/tildes/templates/register.jinja2 b/tildes/tildes/templates/register.jinja2 index ee21de5..6ffdc52 100644 --- a/tildes/tildes/templates/register.jinja2 +++ b/tildes/tildes/templates/register.jinja2 @@ -8,9 +8,11 @@ {% block main_heading %}Register a new account{% endblock %} {% block content %} -

- Registration is currently invite-only. You must have a valid invite code to be able to register. -

+ {% if not code %} +
+ Registration is currently invite-only. You must have a valid invite code to be able to register. +
+ {% endif %}

Please check the sidebar for information about username and password restrictions.