Merge pull request #700 from mattermost/GIT-698
Fixes GIT-698 allow ability to disable team creation for SSO
Этот коммит содержится в:
@@ -100,6 +100,10 @@ func createTeamFromSSO(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if !isTreamCreationAllowed(c, team.Email) {
|
||||
return
|
||||
}
|
||||
|
||||
team.PreSave()
|
||||
|
||||
team.Name = model.CleanTeamName(team.Name)
|
||||
|
||||
Ссылка в новой задаче
Block a user