aurweb/aurweb/users
moson-mo 2eacc84cd0
fix: properly evaluate AURREMEMBER cookie
Whenever the AURREMEMBER cookie was defined, regardless of its value,
"remember_me" is always set to True

The get method of a dict returns a string,
converting a value of str "False" into a bool -> True

We have to check AURREMEMBERs value instead.

Signed-off-by: moson-mo <mo-son@mailbox.org>
2023-05-26 22:57:46 +02:00
..
__init__.py housekeep(fastapi): rework aurweb.db session API 2021-11-14 16:15:50 -08:00
update.py fix: properly evaluate AURREMEMBER cookie 2023-05-26 22:57:46 +02:00
util.py housekeep(fastapi): rework aurweb.db session API 2021-11-14 16:15:50 -08:00
validate.py chore: rename logging.py and redis.py to avoid circular imports 2022-10-22 18:51:38 +01:00