Merge pull request #671 from mattermost/it33-patch-1

Updating MaxUsersPerTeam error msg
Этот коммит содержится в:
Christopher Speller
2015-09-14 14:12:45 -04:00
родитель 8d021a13f8 d707de14d7
Коммит 0d8e27ce94

Просмотреть файл

@@ -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