getsentry/raven-python — pull request #269 by techniq (2013-03-16 03:35:08+00:00)
Title: Capture user information when Flask-Login / Flask-Security is used

Since Flask-Login (and Flask-Security, which uses Flask-Login) appear to be the recommend way to login and remember a user, I've added support to capture information about the user if Flask-Login is detected to be installed and attached to the application.