#3318 Move earlier in the stack the methods used to authenticate with local accounts
Merged by pingou. Opened by pingou.
fix_auth_check  into  master

Download 3318.patch

Without this change, too much of the requests had gone through before the
methods checking if the user is authenticated were called and thus a number
of actions requiring the user to be authenticated were not available.

Fixes https://pagure.io/pagure/issue/3290

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

1 new commit added

  • Add some more tests for local auth

Verified to work with my local instance! :thumbsup:

rebased onto 44158ded730957ea29280793c841b61ae67d1976

Thanks for the review! :)

Pull-Request has been merged by pingou

Metadata