diff --git a/moulinette/interfaces/api.py b/moulinette/interfaces/api.py index 9ab34fb2..a1ae4d3e 100644 --- a/moulinette/interfaces/api.py +++ b/moulinette/interfaces/api.py @@ -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)