Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wright committed May 2, 2015
1 parent 6b55e96 commit 8a14aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_security/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def decorated_view(*args, **kwargs):
if _security._unauthorized_callback:
return _security._unauthorized_callback()
else:
return _get_unauthorized_response()
return _get_unauthorized_response(headers=h)
return decorated_view
return wrapper

Expand Down

0 comments on commit 8a14aba

Please sign in to comment.