Explorar o código

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 hai 1 ano
pai
achega
d5e00845c6

+ 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'