mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Update domain.py
This commit is contained in:
parent
0314220713
commit
96279729d0
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ class DomainAddUserView(DomainPermissionView, FormMixin):
|
|||
requested_email = form.cleaned_data["email"]
|
||||
# look up a user with that email
|
||||
try:
|
||||
l# Will remove - to push to my sandbox
|
||||
requested_user = User.objects.get(email=requested_email)
|
||||
except User.DoesNotExist:
|
||||
# no matching user, go make an invitation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue