Update domain.py

This commit is contained in:
zandercymatics 2023-09-29 11:22:47 -06:00
parent 0314220713
commit 96279729d0
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -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