fixed issue 1208 (auth on GAE) by disabling virtual fields in auth.user on GAE
This commit is contained in:
1 parent
676b2ef54b
commit
bd933ca43d
2 files changed
+2
-1
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.3.0 (2012-12-08 18:24:15) rc1
|
Version 2.3.0 (2012-12-08 18:30:53) rc1
|
||||||
@@ -1766,6 +1766,7 @@ class Auth(object):
|
|||||||
from gluon.settings import global_settings
|
from gluon.settings import global_settings
|
||||||
if global_settings.web2py_runtime_gae:
|
if global_settings.web2py_runtime_gae:
|
||||||
user = Row(self.db.auth_user._filter_fields(user, id=True))
|
user = Row(self.db.auth_user._filter_fields(user, id=True))
|
||||||
|
delattr(user,'password')
|
||||||
else:
|
else:
|
||||||
user = Row(user)
|
user = Row(user)
|
||||||
for key,value in user.items():
|
for key,value in user.items():
|
||||||
|
|||||||
Reference in new issue
Block a user