def confirm_login():
    session['_fresh'] = True
    session['_id'] = _create_identifier()
    user_login_confirmed.send(current_app._get_current_object())
This sets the current session as fresh. Sessions become stale when they
dataset/ETHPy150Open maxcountryman/flask-login/flask_login/utils.py/confirm_login