You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
MM-49703: Bump to Go 1.19 (#4489)
* MM-49703: Bump to Go 1.19 Also fix some gofmt issues https://mattermost.atlassian.net/browse/MM-49703 * Bump versions in go.mod * Update go.work as well * Bump GolangCI to 1.50.1 * Upgraded to new builder image
This commit is contained in:
@ -383,12 +383,13 @@ func (a *API) attachSession(handler func(w http.ResponseWriter, r *http.Request)
|
||||
|
||||
authService := session.AuthService
|
||||
if authService != a.authService {
|
||||
a.logger.Error(`Session authService mismatch`,
|
||||
msg := `Session authService mismatch`
|
||||
a.logger.Error(msg,
|
||||
mlog.String("sessionID", session.ID),
|
||||
mlog.String("want", a.authService),
|
||||
mlog.String("got", authService),
|
||||
)
|
||||
a.errorResponse(w, r, model.NewErrUnauthorized(err.Error()))
|
||||
a.errorResponse(w, r, model.NewErrUnauthorized(msg))
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user