Commit 0171e797 by Jose Antonio Gonzalez

fix pylint [ci skip]

parent 2e45a9b1
...@@ -618,6 +618,9 @@ class RecoverPasswordView(views.APIView): ...@@ -618,6 +618,9 @@ class RecoverPasswordView(views.APIView):
http_method_names = ["post"] http_method_names = ["post"]
def post(self, request, format=None): def post(self, request, format=None):
"""
Makes the request to change the password
"""
email = request.data.get('email') email = request.data.get('email')
if email: if email:
return Response(status=change_password(request, email)) return Response(status=change_password(request, email))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment