Skip to content

Commit

Permalink
Fixed problem when get_password decorator destroys function it decorates
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrifunovic committed Mar 11, 2014
1 parent 33d60f2 commit 0cbee17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_httpauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def default_auth_error():

def get_password(self, f):
self.get_password_callback = f
return f

def error_handler(self, f):
@wraps(f)
Expand Down

0 comments on commit 0cbee17

Please sign in to comment.