Update registration email not found error
This commit is contained in:
parent
3a1d5e9c66
commit
e9727fc5d2
|
@ -294,7 +294,7 @@ def link_old_member(data, user):
|
||||||
try:
|
try:
|
||||||
member = models.Member.objects.get(old_email__iexact=data['email'])
|
member = models.Member.objects.get(old_email__iexact=data['email'])
|
||||||
except models.Member.DoesNotExist:
|
except models.Member.DoesNotExist:
|
||||||
msg = 'Unable to find email in old portal. Maybe try your other email addresses?'
|
msg = 'Unable to find email in old portal. Try a different one or ask a director to look up which one you used.'
|
||||||
logger.info(msg)
|
logger.info(msg)
|
||||||
raise ValidationError(dict(email=msg))
|
raise ValidationError(dict(email=msg))
|
||||||
except models.Member.MultipleObjectsReturned:
|
except models.Member.MultipleObjectsReturned:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user