diff --git a/Source/assets/css/main.css b/Source/assets/css/main.css index 5961fdc..42b8c7f 100644 --- a/Source/assets/css/main.css +++ b/Source/assets/css/main.css @@ -54,6 +54,10 @@ p{ background-color: #b2dbfb !important } +.loginMessage { + display: none; +} + .codebox{ margin-top: 2em; margin-bottom: 2em; diff --git a/Source/assets/html/base.twig b/Source/assets/html/base.twig index cc46707..5ac2ff7 100644 --- a/Source/assets/html/base.twig +++ b/Source/assets/html/base.twig @@ -15,6 +15,7 @@ + diff --git a/Source/assets/html/loginregister.twig b/Source/assets/html/loginregister.twig index 416b182..2cf2c91 100644 --- a/Source/assets/html/loginregister.twig +++ b/Source/assets/html/loginregister.twig @@ -8,20 +8,15 @@
- {% if page.state == 'BAD_CREDENTIAL' %} -

Bad credentials

- {% elseif page.state == 'POST_ERROR' %} -

Error during sign-up, check your data

- {% elseif page.state == 'MAIL_IN_USE' %} -

The e-mail is currently in use

- {% elseif page.state == 'NICK_IN_USE' %} -

The nickname is currently in use

- {% endif %} +

Bad credentials

+

Error during sign-up, check your data

+

The e-mail is currently in use

+

The nickname is currently in use

-
+
@@ -45,7 +40,7 @@