Fix a typo when comparing the URI & method during UI Auth. (#7689)

This commit is contained in:
Patrick Cloke 2020-06-12 14:12:04 -04:00 committed by GitHub
parent a3fbc23c39
commit d0a43d431e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/7689.bugfix Normal file
View File

@ -0,0 +1 @@
Compare the URI and method during user interactive authentication (instead of the URI twice). Bug introduced in 1.13.0rc1.

View File

@ -297,7 +297,7 @@ class AuthHandler(BaseHandler):
# Convert the URI and method to strings. # Convert the URI and method to strings.
uri = request.uri.decode("utf-8") uri = request.uri.decode("utf-8")
method = request.uri.decode("utf-8") method = request.method.decode("utf-8")
# If there's no session ID, create a new session. # If there's no session ID, create a new session.
if not sid: if not sid: