mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Rename confusing variable
The reason the email address is considered invalid is because it is the address of the person doing the inviting. This commit renames the variable to be more specific and avoid confusion with the email address of the person being invited.
This commit is contained in:
@@ -184,7 +184,7 @@ def manage_org_users(org_id):
|
||||
@user_has_permissions()
|
||||
def invite_org_user(org_id):
|
||||
form = InviteOrgUserForm(
|
||||
invalid_email_address=current_user.email_address
|
||||
inviter_email_address=current_user.email_address
|
||||
)
|
||||
if form.validate_on_submit():
|
||||
email_address = form.email_address.data
|
||||
|
||||
Reference in New Issue
Block a user