You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
This reverts commit 2d0dde21dd
.
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
This commit is contained in:
@ -383,13 +383,12 @@ func (a *API) attachSession(handler func(w http.ResponseWriter, r *http.Request)
|
||||
|
||||
authService := session.AuthService
|
||||
if authService != a.authService {
|
||||
msg := `Session authService mismatch`
|
||||
a.logger.Error(msg,
|
||||
a.logger.Error(`Session authService mismatch`,
|
||||
mlog.String("sessionID", session.ID),
|
||||
mlog.String("want", a.authService),
|
||||
mlog.String("got", authService),
|
||||
)
|
||||
a.errorResponse(w, r, model.NewErrUnauthorized(msg))
|
||||
a.errorResponse(w, r, model.NewErrUnauthorized(err.Error()))
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user