exceptions: Use HTTP 401 code for authentication errors.

This commit is contained in:
Tim Abbott
2021-07-05 11:28:24 -07:00
parent 4f9c7cae0a
commit af47fa705e
7 changed files with 48 additions and 29 deletions

View File

@@ -33,7 +33,7 @@ DESKTOP_WARNING_VERSION = "5.4.3"
# Changes should be accompanied by documentation explaining what the
# new level means in templates/zerver/api/changelog.md, as well as
# "**Changes**" entries in the endpoint's documentation in `zulip.yaml`.
API_FEATURE_LEVEL = 75
API_FEATURE_LEVEL = 76
# Bump the minor PROVISION_VERSION to indicate that folks should provision
# only when going from an old version of the code to a newer version. Bump