Skip to content

Node.js based forum software built for the modern web

fix: tx error message on /login

Barış Soner Uşaklıc7cab16a6438
diff --git a/install/package.json b/install/package.json
index f0878d764a..8bd6622adb 100644
--- a/install/package.json
+++ b/install/package.json
@@ -112,7 +112,7 @@
"nodebb-plugin-spam-be-gone": "2.3.4",
"nodebb-plugin-web-push": "0.8.1",
"nodebb-rewards-essentials": "1.0.3",
- "nodebb-theme-harmony": "3.1.6",
+ "nodebb-theme-harmony": "3.1.7",
"nodebb-theme-lavender": "8.0.6",
"nodebb-theme-peace": "3.0.6",
"nodebb-theme-persona": "15.0.11",
diff --git a/src/views/login.tpl b/src/views/login.tpl
index 497edbf0ab..b5968ddf78 100644
--- a/src/views/login.tpl
+++ b/src/views/login.tpl
@@ -50,7 +50,7 @@
<div class="alert alert-danger {{{ if !error }}} hidden{{{ end }}}" id="login-error-notify" role="alert" aria-atomic="true">
<strong>[[login:failed-login-attempt]]</strong>
- <p class="mb-0">{error}</p>
+ <p class="mb-0">{{tx(error)}}</p>
</div>
<hr/>