From 08673a03e2630790a47d0f32684ba2e389081642 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 22 Mar 2017 22:09:31 -0400 Subject: [PATCH] Rename cookie header parameter to make it clear it is unused The parameter is necessary to match the auth handler interface, but is unused inside the method --- auth/cookie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/cookie.py b/auth/cookie.py index b60db51a6..68ed0f8ee 100644 --- a/auth/cookie.py +++ b/auth/cookie.py @@ -7,7 +7,7 @@ from auth.validateresult import AuthKind, ValidateResult logger = logging.getLogger(__name__) -def validate_session_cookie(auth_header=None): +def validate_session_cookie(auth_header_unusued=None): """ Attempts to load a user from a session cookie. """ if current_user.is_anonymous: return ValidateResult(AuthKind.cookie, missing=True)