Merge pull request #276 from YunoHost/fix-damned-password-unicode

[fix] Unicode password doesn't log in
This commit is contained in:
Alexandre Aubin 2021-05-24 00:07:42 +02:00 committed by GitHub
commit 5b5d62f856
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)