Files
Chad Whitacre 864b1de015 Close potential security hole
This used to read User.query.filter_by(session_token=token), but that
generates "session_token is NULL" when token is None, and we need
"session_token = NULL", or else we will match arbitrary users(!).
This is a bit of WTF from SQLAlchemy here, IMO: it dangerously opts for
idiomatic Python over idiomatic SQL. We fell prey, at least. :-/
2013-02-22 07:12:51 -05:00
..
2013-02-07 22:46:50 -06:00
2013-02-07 22:46:50 -06:00
2013-02-12 06:50:34 -05:00
2013-02-22 07:12:51 -05:00