Skip to content

Commit

Permalink
fix: give FA form user friendly error message (#34222)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopappas authored Feb 12, 2024
1 parent accfdcc commit 2e15d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,7 @@ def financial_assistance_request_v2(request):
return HttpResponseForbidden()
# Require email verification
if request.user.is_active is not True:
return HttpResponseForbidden()
return HttpResponseForbidden('Please confirm your email before applying for financial assistance.')

course_id = data['course']
if course_id and course_id not in request.META.get('HTTP_REFERER'):
Expand Down

0 comments on commit 2e15d69

Please sign in to comment.