Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Login refactor #19

Open
sheggen opened this issue Nov 17, 2021 · 0 comments
Open

Local Login refactor #19

sheggen opened this issue Nov 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@sheggen
Copy link
Contributor

sheggen commented Nov 17, 2021

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.
@sheggen sheggen added the enhancement New feature or request label Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant