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) #19378

Merged

Commits on Apr 11, 2022

  1. Fix middleware function's placements (go-gitea#19377)

    - Backport go-gitea#19377
      - Add reqSignIn to `/task/{task}` as it specific to a logged in user currently not-logged in user could cause a NPE.
      - 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
    a6cc79a View commit details
    Browse the repository at this point in the history