[MM-61076] Fix errcheck issues in server/channels/web/saml.go (#30612)
Co-authored-by: Claude <noreply@anthropic.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b8ad438c0a
Коммит
b7f89984db
@@ -155,7 +155,9 @@ func completeSaml(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
c.LogErrorByCode(err)
|
||||
break
|
||||
}
|
||||
c.App.AddDirectChannels(c.AppContext, teamId, user)
|
||||
if err = c.App.AddDirectChannels(c.AppContext, teamId, user); err != nil {
|
||||
c.LogErrorByCode(err)
|
||||
}
|
||||
}
|
||||
case model.OAuthActionEmailToSSO:
|
||||
if err = c.App.RevokeAllSessions(c.AppContext, user.Id); err != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user