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
This commit is contained in:
parent
95e1cf6673
commit
08673a03e2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue