There is no Google Account validation on Development.
It will accept more of less any string as login email ID.
That could be the reason, why your logic is working there.

For validation on production, you should Sign In using a valid Google
Account.
Also, check if you have taken care of the case sensitivity while
writing
your comparison code.  If you store user as UserProperty(), then
user.nickname()
can be used; storing it separately, may not be required.


On Aug 21, 4:35 am, Gayle Laakmann <[email protected]> wrote:
> I store the following information on users in the database:
>
> class UserInfo(db.Model):
>         user = db.UserProperty()
>         nickname = db.StringProperty()
>
> If I have a UserInfo object userinfo and I do userinfo.user.email(),
> it does not return the email address on production.  On development,
> however, this works.
>
> Any idea why it doesn't work on production, and if it can be fixed?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to