Skip to content

Commit

Permalink
Merge branch 'master' into BP-778/Issue-125/improve-swagger-support-f…
Browse files Browse the repository at this point in the history
…or-authenticators
  • Loading branch information
airstandley authored Sep 20, 2019
2 parents 5bb7a9e + 075d1bf commit a0b07b9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.10.1
current_version = 1.10.2
commit = True
tag = True

Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ Changelog
=========


v1.10.2 (2019-09-19)
--------------------

Fix
~~~
- Update authenticators to catch Forbidden exception (#133) [Marc-Éric]


v1.10.1 (2019-09-19)
--------------------

Expand Down
2 changes: 1 addition & 1 deletion flask_rebar/rebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def wrapped(*args, **kwargs):
try:
authenticator.authenticate()
break # Short-circuit on first successful authentication
except errors.Unauthorized as e:
except (errors.Unauthorized, errors.Forbidden) as e:
first_error = first_error or e
else:
raise first_error or errors.Unauthorized
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if __name__ == "__main__":
setup(
name="flask-rebar",
version="1.10.1",
version="1.10.2",
author="Barak Alon",
author_email="[email protected]",
description="Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.",
Expand Down

0 comments on commit a0b07b9

Please sign in to comment.