summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-16 08:52:33 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-16 08:52:33 -0500
commit5872a1c094d5cbba49d32b9714d11f0c6b46f552 (patch)
tree6307c21ed5cb813dcafb146eb2f5a213a779d31a /store
parenta3658a1427c29c3052d2c094b676a0cd2a73b4cc (diff)
parent7a0597e41b77b5cdd1958889bcd5444bb4a25dea (diff)
downloadchat-5872a1c094d5cbba49d32b9714d11f0c6b46f552.tar.gz
chat-5872a1c094d5cbba49d32b9714d11f0c6b46f552.tar.bz2
chat-5872a1c094d5cbba49d32b9714d11f0c6b46f552.zip
Merge pull request #1426 from mattermost/plt-551
PLT-551 Fix cancel button on username setting and other general improvements
Diffstat (limited to 'store')
-rw-r--r--store/sql_user_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go
index d38b5c214..77ff5bfab 100644
--- a/store/sql_user_store.go
+++ b/store/sql_user_store.go
@@ -157,7 +157,7 @@ func (us SqlUserStore) Update(user *model.User, allowActiveUpdate bool) StoreCha
if count, err := us.GetMaster().Update(user); err != nil {
if IsUniqueConstraintError(err.Error(), "Email", "users_email_teamid_key") {
- result.Err = model.NewAppError("SqlUserStore.Update", "This email is already taken. Please choose another", "user_id="+user.Id+", "+err.Error())
+ result.Err = model.NewAppError("SqlUserStore.Update", "This email is already taken. Please choose another.", "user_id="+user.Id+", "+err.Error())
} else if IsUniqueConstraintError(err.Error(), "Username", "users_username_teamid_key") {
result.Err = model.NewAppError("SqlUserStore.Update", "This username is already taken. Please choose another.", "user_id="+user.Id+", "+err.Error())
} else {