Exemple #1
0
def logout():
    from uliweb.contrib.auth import logout as out
    from uliweb import settings

    out()
    next = unquote(request.values.get('next', add_prefix('/')))
    return redirect(next)
Exemple #2
0
def logout():
    from uliweb.contrib.auth import logout as out
    from uliweb import settings
    out()
    next = urllib.unquote(request.POST.get('next', add_prefix('/')))
    return redirect(next)
Exemple #3
0
def logout():
    from uliweb.contrib.auth import logout as out
    out()
    Redirect(get_lenovoid_logout_url())
Exemple #4
0
def logout():
    from uliweb.contrib.auth import logout as out
    out()
    next = urllib.unquote(request.POST.get('next', '/'))
    return redirect(next)
Exemple #5
0
def logout():
    from uliweb.contrib.auth import logout as out
    out()
    next = urllib.unquote(request.POST.get('next', '/'))
    return redirect(next)
Exemple #6
0
def logout():
    from uliweb.contrib.auth import logout as out
    out()
    next = request.GET.get('next', '/')
    return redirect(next)