[fix] Unicode password doesn't log in

This commit is contained in:
ljf (zamentur) 2021-05-17 12:18:51 +02:00 committed by GitHub
parent 55e555aff5
commit d9789364b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,7 +249,7 @@ class _ActionsMapPlugin(object):
def wrapper():
kwargs = {}
try:
kwargs["password"] = request.POST["password"]
kwargs["password"] = request.POST.password
except KeyError:
raise HTTPResponse("Missing password parameter", 400)