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

Fix middleware function's placements #19377

Merged
merged 1 commit into from
Apr 12, 2022

Commits on Apr 11, 2022

  1. Fix middleware function's placements

    - Add reqSignIn to `/task/{task}` as it specific to a logged in user
    currently not-logged in user could cause a NPE.
    - Move `/stopwatch` & `/search` middleware before the actual function is
    called, because functions are executed in order and currently hadn't
    any effect and could as well cause a NPE due to that.
    - Remove `/active` reqSignIn middleware, because when you want to active
    a account you're not "signed in" so it doesn't make sense to add that
    middleware.
    Gusted committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    2d53279 View commit details
    Browse the repository at this point in the history