changeset 1522 | 983b126f5aca |
parent 1472 | 27c9ae3f8d8b |
child 1621 | 106a5a7834d0 |
--- a/app/soc/logic/cleaning.py Thu Feb 26 16:54:44 2009 +0000 +++ b/app/soc/logic/cleaning.py Thu Feb 26 16:55:23 2009 +0000 @@ -222,12 +222,9 @@ @check_field_is_empty(field_name) def wrapped(self): - email_adress = self.cleaned_data.get(field_name).lower() + email_adress = self.cleaned_data[field_name] + return users.User(email_adress) - # get the user account for this email - user_account = users.User(email_adress) - - return user_account return wrapped