maxcountryman/flask-login — pull request #58 by mihneasim (2013-03-29 12:56:31+00:00)
Title: Using decorators for setting callbacks

E.g.:
@login_manager.user_loader
def load_user(username):
.....

will make load_user unusable from this module, because the decorator does not return the method (callback) itself.