()
return redirect(url_for('.login'))
Logout the current user.
Logout the current user.
Logout the current user .
def logout():
    """
    Logout the current user.
    """
    if '_u' in session:
        del session['_u']
    if '_uu' in session:
        del session['_uu']
    return redirect(url_for('.login'))
def logout ( ) : if '_u' in session : del session [ '_u' ] if '_uu' in session : del session [ '_uu' ] return redirect ( url_for ( '.login' ) )