mirror of https://github.com/Aidaho12/haproxy-wi
![]() Added decorator `@get_user_params()` to various route handlers in `routes.py`. Adjusted user handling in `config.py` by eliminating checks for 'login' and directly accessing user parameters from Flask's global variable `g`. Also moved user retrieval process from `routes.py` to lower level operations allowing for better abstraction and less redundancy. |
||
---|---|---|
.. | ||
certs | ||
modules | ||
routes | ||
scripts | ||
static | ||
templates | ||
__init__.py | ||
app.wsgi | ||
config.py | ||
create_db.py | ||
jobs.py | ||
login.py | ||
middleware.py |