From 1ba3c24fe572215b02bc9546f02b1cf12ec15aa6 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 4 Jan 2018 12:59:21 -0500 Subject: [PATCH] Fix log level on expired OAuth log --- auth/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/oauth.py b/auth/oauth.py index 662917e36..41a37f2d0 100644 --- a/auth/oauth.py +++ b/auth/oauth.py @@ -34,7 +34,7 @@ def validate_oauth_token(token): error_message='OAuth access token could not be validated') if validated.expires_at <= datetime.utcnow(): - logger.info('OAuth access with an expired token: %s', token) + logger.warning('OAuth access with an expired token: %s', token) return ValidateResult(AuthKind.oauth, error_message='OAuth access token has expired') # Don't allow disabled users to login.