6973128eac
If no username is set, returns an empty string. So the test `username is not None` is always True. Idem for password. This can lead to authentication problems. This commit fixes the test to `if username and password` as it was in the previous version. |
||
---|---|---|
.. | ||
css | ||
db | ||
demo | ||
ext | ||
js | ||
tests | ||
utils | ||
views | ||
__init__.py | ||
compat.py | ||
config.py | ||
core.py | ||
dispatch.py | ||
migrate.py | ||
run.py | ||
wsgi.py |