Fix not working isIdDeveloper() function after recent commit. There is still confusion within getFormFields method (email is not id), but this change doesn't address that problem.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 12 Oct 2008 08:43:41 +0000
changeset 301 5d6d106afb23
parent 300 d36b597ef29d
child 302 3b9c52170f46
Fix not working isIdDeveloper() function after recent commit. There is still confusion within getFormFields method (email is not id), but this change doesn't address that problem. Patch by: Pawel Solyga Review by: to-be-reviewed
app/soc/logic/site/id_user.py
--- a/app/soc/logic/site/id_user.py	Sun Oct 12 01:08:41 2008 +0000
+++ b/app/soc/logic/site/id_user.py	Sun Oct 12 08:43:41 2008 +0000
@@ -90,7 +90,7 @@
   if not id:
     id = current_id
 
-  user = soc.logic.user_logic.getFromFields(id=id)
+  user = soc.logic.user_logic.getFromFields(email=id)
 
   if not user:
     # no User entity for this Google Account, and id is not the currently