summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-07-31 11:39:00 -0400
committerChristopher Speller <crspeller@gmail.com>2015-07-31 11:39:00 -0400
commitec6d408e29a490ac1e16f7840275c116959c4342 (patch)
tree5723166ef2400b91de82c4fc834e2390b0c75005 /api
parent6819f85a22b896424b127752405ce87d46474fee (diff)
parenta41c42c4d4d78cab6ff12a932675aee8bd4aab86 (diff)
downloadchat-ec6d408e29a490ac1e16f7840275c116959c4342.tar.gz
chat-ec6d408e29a490ac1e16f7840275c116959c4342.tar.bz2
chat-ec6d408e29a490ac1e16f7840275c116959c4342.zip
Merge pull request #303 from nickago/MM-1642
MM-1642 Updated the password error
Diffstat (limited to 'api')
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index e2d80b366..66527ca1a 100644
--- a/api/user.go
+++ b/api/user.go
@@ -863,7 +863,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
}