Skip to content

Commit

Permalink
Fix bug wherein requested_account_note was not populated for some fir…
Browse files Browse the repository at this point in the history
…m sign-ups
  • Loading branch information
cmsetzer committed Nov 20, 2024
1 parent c1ca1e4 commit 8567f78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perma_web/perma/views/user_sign_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def sign_up_firms(request: HttpRequest):
new_registrar.save()
new_user: LinkUser = user_form.save(commit=False)
new_user.requested_account_type = 'firm'
new_user.requested_account_note = registrar_form.cleaned_data['name']
create_account = request.POST.get('create_account', None)
if create_account:
new_user.save()
Expand Down

0 comments on commit 8567f78

Please sign in to comment.