diff options
author | Frederick Muriuki Muriithi | 2024-07-17 11:00:40 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-07-17 11:45:19 -0500 |
commit | 53ad9edda5c825a24bc91efe9d8b4d7bcc180e37 (patch) | |
tree | 4de81b243d44c51c97894f5f988669a583385dd7 /gn2/maintenance | |
parent | d601e85f9e423d0e5cd489dfb26412981ddcd50d (diff) | |
download | genenetwork2-53ad9edda5c825a24bc91efe9d8b4d7bcc180e37.tar.gz |
Remove token and user detail handling from @app.before_request
The token and user details information is handled in the
`gn2.wqflask.oauth2.session`. Other parts of the system should make
use of that.
It also helps avoid some weird "action-at-a-distance" interactions -
this forces the code to request what it needs when it needs it and not
rely on some global variables.
Diffstat (limited to 'gn2/maintenance')
0 files changed, 0 insertions, 0 deletions