scout/server/blueprints/login/views.py
def load_user(user_email):
    """Returns the currently active user as an object."""
    user_obj = store.user(user_email)
    user_inst = LoginUser(user_obj) if user_obj else None
    return user_inst
def load_user(user_email):
    user_obj = store.user(user_email)
    user_inst = LoginUser(user_obj) if user_obj else None
    return user_inst
def load_user ( user_email ) : user_obj = store . user ( user_email ) user_inst = LoginUser ( user_obj ) if user_obj else None return user_inst
Returns the currently active user as an object.
Returns the currently active user as an object .