fixed issue 1208 (auth on GAE) by disabling virtual fields in auth.user on GAE

This commit is contained in:
mdipierro committed 2012-12-08 18:31:41 -06:00
1 parent fa08472392
commit 8d6a19aeb2
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.3.0 (2012-12-08 18:24:15) rc1
Version 2.3.0 (2012-12-08 18:30:53) rc1
+1
View File
@@ -1766,6 +1766,7 @@ class Auth(object):
from gluon.settings import global_settings
if global_settings.web2py_runtime_gae:
user = Row(self.db.auth_user._filter_fields(user, id=True))
delattr(user,'password')
else:
user = Row(user)
for key,value in user.items():