Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
teovin committed Dec 2, 2024
1 parent acd0457 commit 92e06de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions perma_web/perma/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,14 +552,14 @@ def save(self, commit=True):
created_user_affiliations = []

if new_user_emails and commit:
for user in new_user_emails:
for email in new_user_emails:
new_user = LinkUser(
email=user,
first_name=self.user_data[user]['first_name'],
last_name=self.user_data[user]['last_name']
email=email,
first_name=self.user_data[email]['first_name'],
last_name=self.user_data[email]['last_name']
)
new_user.save()
self.created_users[user] = new_user
self.created_users[email] = new_user

created_user_affiliations.append(
UserOrganizationAffiliation(
Expand Down

0 comments on commit 92e06de

Please sign in to comment.