mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Merge pull request #276 from YunoHost/fix-damned-password-unicode
[fix] Unicode password doesn't log in
This commit is contained in:
commit
5b5d62f856
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class _ActionsMapPlugin(object):
|
||||||
def wrapper():
|
def wrapper():
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
try:
|
try:
|
||||||
kwargs["password"] = request.POST["password"]
|
kwargs["password"] = request.POST.password
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise HTTPResponse("Missing password parameter", 400)
|
raise HTTPResponse("Missing password parameter", 400)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue