summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
authorit33 <iantien@gmail.com>2015-09-13 07:27:58 -0700
committerit33 <iantien@gmail.com>2015-09-13 07:27:58 -0700
commitd707de14d785688cf114f85bd19da9070b1196e2 (patch)
tree972f9be4f5920a8520c6286d96f1c914392da522 /store/sql_user_store.go
parenta9a7efbe9833f4b222b79bcf3aa39dc26eb470ad (diff)
downloadchat-d707de14d785688cf114f85bd19da9070b1196e2.tar.gz
chat-d707de14d785688cf114f85bd19da9070b1196e2.tar.bz2
chat-d707de14d785688cf114f85bd19da9070b1196e2.zip
Updating MaxUsersPerTeam error msg
This message is displayed to a person attempting to sign-up for a new team, and "You've reached the limit" phrasing is confusing because it refers to the team, not the person signing up for the team.
Diffstat (limited to 'store/sql_user_store.go')
-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 be1d29df0..52d670d56 100644
--- a/store/sql_user_store.go
+++ b/store/sql_user_store.go
@@ -74,7 +74,7 @@ func (us SqlUserStore) Save(user *model.User) StoreChannel {
close(storeChannel)
return
} else if int(count) > utils.Cfg.TeamSettings.MaxUsersPerTeam {
- result.Err = model.NewAppError("SqlUserStore.Save", "You've reached the limit of the number of allowed accounts.", "teamId="+user.TeamId)
+ result.Err = model.NewAppError("SqlUserStore.Save", "This team has reached the maxmium number of allowed accounts. Contact your systems administrator to set a higher limit.", "teamId="+user.TeamId)
storeChannel <- result
close(storeChannel)
return