changeset 332 | 3a04703a7fe3 |
parent 331 | 24edc648ad3f |
child 355 | 9b3f26057f74 |
--- a/app/soc/views/site/user/profile.py Tue Oct 14 22:35:46 2008 +0000 +++ b/app/soc/views/site/user/profile.py Tue Oct 14 22:57:52 2008 +0000 @@ -129,7 +129,7 @@ if form_id: # email provided, so attempt to look up user by email - user = models.user.logic.getFromFields(id=form_id) + user = models.user.logic.getFromFields(email=form_id.email()) if user: lookup_message = ugettext_lazy('User found by email.')