Skip to content

Commit

Permalink
Remove "reactivation" message
Browse files Browse the repository at this point in the history
Most user won't know how to reactivate a user, so it is not helpful.
  • Loading branch information
jingcheng16 committed Sep 19, 2024
1 parent 2506997 commit 409c134
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions corehq/apps/registration/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,7 @@ def clean_email(self):
"this project or has a pending invitation."))
web_user = WebUser.get_by_username(email)
if web_user and not web_user.is_active:
raise forms.ValidationError(_("A user with this email address is deactivated. "
"Please reactivate this user first."))
raise forms.ValidationError(_("A user with this email address is deactivated. "))
return email

def clean(self):
Expand Down

0 comments on commit 409c134

Please sign in to comment.