From cdf54f1f19e8924bfc90818f63310ea358ea3aca Mon Sep 17 00:00:00 2001 From: Aditya Anand M C Date: Wed, 23 Oct 2019 10:50:10 -0500 Subject: [PATCH] ensures user is logged in for payout --- app/dashboard/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/dashboard/views.py b/app/dashboard/views.py index 6389c5fcbde..820e7520e5b 100644 --- a/app/dashboard/views.py +++ b/app/dashboard/views.py @@ -1326,6 +1326,7 @@ def social_contribution_email(request): return JsonResponse(response) +@login_required def payout_bounty(request): """Payout the bounty. @@ -1351,6 +1352,7 @@ def payout_bounty(request): return TemplateResponse(request, 'payout_bounty.html', params) +@login_required def bulk_payout_bounty(request): """Payout the bounty.