aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/login_check.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/login_check.go')
-rw-r--r--ui/login_check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/login_check.go b/ui/login_check.go
index 2c5398a..98d2c4e 100644
--- a/ui/login_check.go
+++ b/ui/login_check.go
@@ -21,7 +21,7 @@ func (c *Controller) CheckLogin(w http.ResponseWriter, r *http.Request) {
authForm := form.NewAuthForm(r)
view := view.New(c.tpl, r, sess)
- view.Set("errorMessage", "Invalid username or password.")
+ view.Set("errorMessage", "error.bad_credentials")
view.Set("form", authForm)
if err := authForm.Validate(); err != nil {