diff --git a/templates/login.tpl b/templates/login.tpl
index ad45501..057c561 100644
--- a/templates/login.tpl
+++ b/templates/login.tpl
@@ -6,7 +6,7 @@
style="display:block"style="display: none;">
- [[login:failed_login_attempt]]
+
[[login:failed_login_attempt]]
{error}
diff --git a/templates/register.tpl b/templates/register.tpl
index 721c86e..b765616 100644
--- a/templates/register.tpl
+++ b/templates/register.tpl
@@ -4,7 +4,7 @@
- [[error:registration-error]]
+
[[error:registration-error]]
{error}