PLT-3584 Fix no team found when creating account (#3552)
Этот коммит содержится в:
@@ -2543,7 +2543,9 @@ func completeSaml(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
switch action {
|
switch action {
|
||||||
case model.OAUTH_ACTION_SIGNUP:
|
case model.OAUTH_ACTION_SIGNUP:
|
||||||
teamId := relayProps["team_id"]
|
teamId := relayProps["team_id"]
|
||||||
go addDirectChannels(teamId, user)
|
if len(teamId) > 0 {
|
||||||
|
go addDirectChannels(teamId, user)
|
||||||
|
}
|
||||||
break
|
break
|
||||||
case model.OAUTH_ACTION_EMAIL_TO_SSO:
|
case model.OAUTH_ACTION_EMAIL_TO_SSO:
|
||||||
RevokeAllSession(c, user.Id)
|
RevokeAllSession(c, user.Id)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user