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

Commit

Permalink
Fix url generation of UNAUTHORIZED_VIEW
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuncar committed Jan 5, 2018
1 parent a2f35df commit 05ff114
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 @@ -43,7 +43,7 @@ def _get_unauthorized_response(text=None, headers=None):


def _get_unauthorized_view():
view = utils.get_url(utils.config_value('UNAUTHORIZED_VIEW'))
view = utils.config_value('UNAUTHORIZED_VIEW')
if view:
if callable(view):
view = view()
Expand Down

0 comments on commit 05ff114

Please sign in to comment.