Skip to content

Commit

Permalink
Explicitly set status to pending review on submitted/resubmitted veri…
Browse files Browse the repository at this point in the history
…fication request
  • Loading branch information
tortila committed Aug 30, 2023
1 parent a27f062 commit e18c830
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ def done(self, form_list, form_dict, **kwargs):
consent.request = pr
consent.save()

# set status
pr.status = ProviderRequestStatus.PENDING_REVIEW.value
pr.save()

# send an email notification to the author and green web staff
self._send_notification_email(pr)

Expand Down

0 comments on commit e18c830

Please sign in to comment.