diff options
author | nickago <ngonella@calpoly.edu> | 2015-07-30 13:54:00 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-07-30 13:54:00 -0700 |
commit | a41c42c4d4d78cab6ff12a932675aee8bd4aab86 (patch) | |
tree | cfd4abf7e1438b1fbbe580e43c66dc9995cbd50f /api | |
parent | aac256711605fc3801606c14eb8dc8638b30f0d2 (diff) | |
download | chat-a41c42c4d4d78cab6ff12a932675aee8bd4aab86.tar.gz chat-a41c42c4d4d78cab6ff12a932675aee8bd4aab86.tar.bz2 chat-a41c42c4d4d78cab6ff12a932675aee8bd4aab86.zip |
Updated error message for an incorrect password
Diffstat (limited to 'api')
-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 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 } |