Commit 6e4d5045 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Fix project member approve view allowed methods

require POST http method
parent 04b9a22b
...@@ -1236,7 +1236,7 @@ def project_leave(request, application_id): ...@@ -1236,7 +1236,7 @@ def project_leave(request, application_id):
next = restrict_next(next, domain=COOKIE_DOMAIN) next = restrict_next(next, domain=COOKIE_DOMAIN)
return redirect(next) return redirect(next)
@require_http_methods(["GET"]) @require_http_methods(["POST"])
@signed_terms_required @signed_terms_required
@login_required @login_required
@transaction.commit_manually @transaction.commit_manually
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