BCStudentSoftwareDevTeam / lsf-oss

0 stars 0 forks source link

Local Login refactor #19

Open sheggen opened 2 years ago

sheggen commented 2 years ago

Shibboleth and Local login are both working (mostly). But, code is everywhere.

Notes:

  1. refactor to use a before_app_request decorator to load the current user, handling shib or local gracefully and not in the controllers
  2. Remove logic from controllers for dealing with current user, since it'll be everywhere from 1.
  3. Consider removing the login_manager or making it handle everything more gracefully as well.