소스 검색

Revert "Merge pull request #27060 from overleaf/em-log-oauth-authenticate-errors" (#27062)

This reverts commit 32bb3c66b61d0de8cbbfe1da08042f06b4f4342a, reversing
changes made to 5e87b704cd90478aedc8d8befa0aa5787a53177b.

Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com>
GitOrigin-RevId: 10b51500e3429a637dc76e3cec7d6b2764708ddb
Jimmy Domagala-Tang 1 년 전
부모
커밋
d5e00845c6
1개의 변경된 파일과 0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      services/web/app/src/Features/Authentication/AuthenticationController.js

+ 0 - 4
services/web/app/src/Features/Authentication/AuthenticationController.js

@@ -392,10 +392,6 @@ const AuthenticationController = {
         req.oauth_user = token.user
         next()
       } catch (err) {
-        logger.warn(
-          { errName: err.name, errMessage: err.message },
-          'OAuth authenticate error'
-        )
         if (
           err.code === 400 &&
           err.message === 'Invalid request: malformed authorization header'