def logout()

in flaskr/auth.py [0:0]


def logout():
    """Clear the current session, including the stored user id."""
    session.clear()
    return redirect(url_for("index"))