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
Using SQLALCHEMY with postgresql. One client written in angular deleted the session cookie when logout. When this happended a new entry in the session table had an expiry with null value. This caused an error in line 535 in the sessions.py file. It's very easy to fix this error. I changed the if statement in line 535 to: if saved_session and (saved_session.expiry is None or saved_session.expiry <= datetime.utcnow()):
It would be very nice If you could correct this error in next release of flask-session
The text was updated successfully, but these errors were encountered:
Using SQLALCHEMY with postgresql. One client written in angular deleted the session cookie when logout. When this happended a new entry in the session table had an expiry with null value. This caused an error in line 535 in the sessions.py file. It's very easy to fix this error. I changed the if statement in line 535 to:
if saved_session and (saved_session.expiry is None or saved_session.expiry <= datetime.utcnow()):
It would be very nice If you could correct this error in next release of flask-session
The text was updated successfully, but these errors were encountered: