Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1210] Fix auth tests and tweak auth functions
Add the anon access decorator to some functions as they require it in some circumstances. The storage controller was calling `is_authorized_boolean` directly, which should be never done (same for `is_authorized`). It would be god to refactor password_reset out of user_update, so user_update does not require anon access.
- Loading branch information
Showing
4 changed files
with
17 additions
and
10 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
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
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
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