fix(oatuh): reverting logging comment to the original code

This commit is contained in:
Daniel Schafman 2025-08-21 18:22:59 +03:00
parent 246904b0d2
commit c6ddfdb0f6
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func (j *jwtSessionLoader) loadSession(next http.Handler) http.Handler {
session, err := j.getJwtSession(req)
if err != nil {
logger.Errorf("Error retrieving session from token in Authorization header: %v %s", err, req.Header.Get("Authorization"))
logger.Errorf("Error retrieving session from token in Authorization header: %v", err)
if j.denyInvalidJWTs {
http.Error(rw, http.StatusText(http.StatusForbidden), http.StatusForbidden)
return