Bump pylint from 2.14.5 to 2.15.0 (#3746)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2022-08-31 17:01:36 +12:00
committed by GitHub
parent 71697df2b6
commit 2650441013
4 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -823,7 +823,9 @@ class LoginHandler(BaseHandler):
"password": self.get_argument("password", ""),
}
try:
req = requests.post("http://supervisor/auth", headers=headers, data=data)
req = requests.post(
"http://supervisor/auth", headers=headers, data=data, timeout=30
)
if req.status_code == 200:
self.set_secure_cookie("authenticated", cookie_authenticated_yes)
self.redirect("/")