forked from kubev2v/forklift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MTV-1377 | Inventory: Throw 401 instead of 403 when invalid token
Issue: Right now the reuqest with invalid token return 403 instead of the expected 401. Fix: Change the `permit` function to return the status code instead of boolean. Signed-off-by: Martin Necas <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters