You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every request loads all tables used by AuthS3() in modules/s3/s3aaa.py
This currently includes the table 'auth_event' which is really not necessary as this only gets used as part of the user-login use case.
Ideally this should be moved to it's own class in modules/s3db/auth.py so that it is only loaded when required.
This will mean the table has to be instantiated via s3db. instead of just db.
The text was updated successfully, but these errors were encountered:
Fixessahana#1525
This prevents the `auth_event` table from being loaded on every request.
The `table_event` getter in web2py tries looking for the table in `db`,
so I also had to override that getter on the AuthS3 class to look in
`s3db` instead.
Every request loads all tables used by AuthS3() in modules/s3/s3aaa.py
This currently includes the table 'auth_event' which is really not necessary as this only gets used as part of the user-login use case.
Ideally this should be moved to it's own class in modules/s3db/auth.py so that it is only loaded when required.
This will mean the table has to be instantiated via s3db. instead of just db.
The text was updated successfully, but these errors were encountered: