diff --git a/VERSION b/VERSION index e2a9c253..a6f89ae0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-08 15:17:55) dev +Version 2.00.0 (2012-08-08 15:19:18) dev diff --git a/gluon/tools.py b/gluon/tools.py index d604665b..534e6e7e 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -1631,8 +1631,8 @@ class Auth(object): if user: update_keys = dict(registration_id=keys['registration_id']) for key in update_fields: - if key in vars: - update_keys[key] = vars[key] + if key in keys: + update_keys[key] = keys[key] user.update_record(**update_keys) elif checks: if not 'first_name' in keys and 'first_name' in table_user.fields: