mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Rather than just returning "permission denied", we can interpret this scenario as a "failure to look up a user with that gym/user ID combo". This should give users the information they need to self-recover, while not leaking any other sensitive details. Fixes: #585
516 B
516 B
Proposed Changes
Please check that the PR fulfills these requirements
- Tests for the changes have been added (for bug fixes / features)
- New python code has been linted with with flake8 (
flake8 --config .github/linters/.flake8 ./wger) and isort (isort) - Added yourself to AUTHORS.rst
Other questions
- Does this PR introduce a breaking change such as a database migration? (i.e. what changes might users need to make in their running application due to this PR?)