login works fine with lazy DAL

This commit is contained in:
mdipierro
2012-09-30 00:10:25 -05:00
parent 4908a5e7be
commit b6f9cd1863
5 changed files with 79 additions and 37 deletions
+1 -1
View File
@@ -1709,7 +1709,7 @@ class Auth(object):
"""
login the user = db.auth_user(id)
"""
# user=Storage(self.table_user()._filter_fields(user,id=True))
user = Storage(self.table_user()._filter_fields(user,id=True))
current.session.auth = Storage(
user = user,
last_visit = current.request.now,