passiomatic / coldsweat

Web RSS aggregator and reader compatible with the Fever API
MIT License
146 stars 21 forks source link

Improvements to auth and session code #28

Closed passiomatic closed 1 year ago

passiomatic commented 11 years ago

Remove expired sessions

See reference session implementation in https://pypi.python.org/pypi/wsgistate/

Use a log in decorator to access certain views

Add something like @login_required to views

passiomatic commented 1 year ago

Done while porting codebase to Python 3 583bd5c

We are now using Flask built-in session object and Flask Login extension.