current_user (Flask-Login)

current_user is a Flask-Login proxy that always refers to the user handling the current request. If someone is logged in it is their User object; otherwise…