diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-07-31 11:39:00 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-07-31 11:39:00 -0400 |
commit | ec6d408e29a490ac1e16f7840275c116959c4342 (patch) | |
tree | 5723166ef2400b91de82c4fc834e2390b0c75005 | |
parent | 6819f85a22b896424b127752405ce87d46474fee (diff) | |
parent | a41c42c4d4d78cab6ff12a932675aee8bd4aab86 (diff) | |
download | chat-ec6d408e29a490ac1e16f7840275c116959c4342.tar.gz chat-ec6d408e29a490ac1e16f7840275c116959c4342.tar.bz2 chat-ec6d408e29a490ac1e16f7840275c116959c4342.zip |
Merge pull request #303 from nickago/MM-1642
MM-1642 Updated the password error
-rw-r--r-- | api/user.go | 2 |
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 } |