Skip to content

Commit

Permalink
changed the msg
Browse files Browse the repository at this point in the history
  • Loading branch information
hemant10yadav committed Nov 6, 2024
1 parent 96d9a64 commit f4a56ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commcare_connect/organization/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def clean_email(self):
user = User.objects.filter(email=email).exclude(memberships__organization=self.organization).first()

if not user:
raise ValidationError("User with this email/username does not exist or is already a member")
raise ValidationError("User with this email does not exist or is already a member")

self.instance.user = user
return email
Expand Down

0 comments on commit f4a56ca

Please sign in to comment.