mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
Update domain.py
This commit is contained in:
parent
c8c624e985
commit
81c37b15ca
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ class DomainAddUserView(DomainPermissionView, FormMixin):
|
||||||
|
|
||||||
def form_valid(self, form):
|
def form_valid(self, form):
|
||||||
"""Add the specified user on this domain."""
|
"""Add the specified user on this domain."""
|
||||||
requested_email = form.cleaned_data.get("email", "")
|
requested_email = form.cleaned_data["email"]
|
||||||
# look up a user with that email
|
# look up a user with that email
|
||||||
try:
|
try:
|
||||||
requested_user = User.objects.get(email=requested_email)
|
requested_user = User.objects.get(email=requested_email)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue