From a41c42c4d4d78cab6ff12a932675aee8bd4aab86 Mon Sep 17 00:00:00 2001 From: nickago Date: Thu, 30 Jul 2015 13:54:00 -0700 Subject: Updated error message for an incorrect password --- api/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/user.go b/api/user.go index e1d5e83dd..73bf2e6ef 100644 --- a/api/user.go +++ b/api/user.go @@ -835,7 +835,7 @@ func updatePassword(c *Context, w http.ResponseWriter, r *http.Request) { } if !model.ComparePassword(user.Password, currentPassword) { - c.Err = model.NewAppError("updatePassword", "Update password failed because of invalid password", "") + c.Err = model.NewAppError("updatePassword", "The \"Current Password\" you entered is incorrect. Please check that Caps Lock is off and try again.", "") c.Err.StatusCode = http.StatusForbidden return } -- cgit v1.2.3-1-g7c22