Skip to content

Commit

Permalink
pass params to view function in MultiAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
vovanz committed Mar 17, 2016
1 parent 61b1b71 commit 3199746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_httpauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,5 @@ def decorated(*args, **kwargs):
break
if selected_auth is None:
selected_auth = self.main_auth
return selected_auth.login_required(f)()
return selected_auth.login_required(f)(*args, **kwargs)
return decorated

0 comments on commit 3199746

Please sign in to comment.