app/soc/logic/site/id_user.py
changeset 441 8a7110ad3d82
parent 390 d12c95ade374
child 448 075360be6743
--- a/app/soc/logic/site/id_user.py	Tue Nov 04 02:50:55 2008 +0000
+++ b/app/soc/logic/site/id_user.py	Tue Nov 04 14:09:37 2008 +0000
@@ -119,7 +119,7 @@
     return True
   # else: "new" email truly is new to the existing User, so keep checking
 
-  if not models.user.logic.getFromFields(id=new_id):
+  if not models.user.logic.getFromFields(email=new_id.email()):
     # new email address also does not belong to any other User,
     # so it is available
     return True