From a83c000b034c123e1ebb188826e6f0d0e0da971e Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 8 Aug 2012 15:17:57 -0500 Subject: [PATCH] fixed issue 578, thanks Thomas Dallagnese --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a68f5b30..e2a9c253 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-08 15:16:55) dev +Version 2.00.0 (2012-08-08 15:17:55) dev diff --git a/gluon/tools.py b/gluon/tools.py index 883325df..d604665b 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -1600,7 +1600,7 @@ class Auth(object): self.settings.table_event.insert(description=description % vars, origin=origin, user_id=user_id) - def get_or_create_user(self, keys, update_fields=[]): + def get_or_create_user(self, keys, update_fields=['email']): """ Used for alternate login methods: If the user exists already then password is updated.