Skip to content

Commit bb162ca

Browse files
committed
bugfix
1 parent 96ba8d7 commit bb162ca

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Unreleased
44

55
- x
66

7+
## Version 6.1.5
8+
9+
- bugfix
10+
711
## Version 6.1.4
812

913
- add disable_default_fail option to checkpoints

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "flask-imp"
3-
version = "6.1.4"
3+
version = "6.1.5"
44
description = 'A Flask auto importer that allows your Flask apps to grow big.'
55
authors = [{ name = "David Carmichael", email = "david@uilix.com" }]
66
readme = "README.md"

src/flask_imp/security/_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def inner(*args: t.Any, **kwargs: t.Any) -> t.Any:
150150
return {"error": "Unauthorized"}, checkpoint_.fail_status
151151

152152
if checkpoint_.disable_default_fail:
153-
func(*args, **kwargs)
153+
return func(*args, **kwargs)
154154

155155
# Otherwise, abort with the specified status code
156156
return abort(checkpoint_.fail_status)

0 commit comments

Comments
 (0)