miguelgrinberg/Flask-HTTPAuth — pull request #4 by ntrifunovic (2014-03-11 18:38:45+00:00)
Title: Fixed problem when get_password decorator destroys function it decorates

Code below wont work without this fix,
because decorator returns `None`

```python
users = {
"admin": "admin"
}
@auth.get_password
def get_pw(username):
if username in users:
return users[username]
return None

get_pw(admin)
```