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
When enabling sessions by setting tools.sessions.on to True, I could no longer login using lg_authority (I was using OpenID, with 'tools.lg_authority.site_registration':'external').
Changing:
user = cherrypy.session.get('auth', None)
to:
user = cherrypy.serving.sessionActual.get('auth')
in tools.py seemed to resolve this though.
The text was updated successfully, but these errors were encountered:
Hey, yeah, that's true. Why are you using tools.sessions though? lg_authority should be providing sessions for you. The reasoning behind this is that it uses a more robust backend (cherrypy's file-based sessions aren't very good for a number of locking reasons, and then since lg_authority already uses its own storage backend, it just kind of makes sense).
When enabling sessions by setting tools.sessions.on to True, I could no longer login using lg_authority (I was using OpenID, with 'tools.lg_authority.site_registration':'external').
Changing:
user = cherrypy.session.get('auth', None)
to:
user = cherrypy.serving.sessionActual.get('auth')
in tools.py seemed to resolve this though.
The text was updated successfully, but these errors were encountered: