예제 #1
0
파일: views.py 프로젝트: assembl/assembl
def logout(request):
    logout_url = maybe_social_logout(request)
    forget(request)
    if logout_url:
        return HTTPFound(location=logout_url)
    next_view = handle_next_view(request, True)
    return HTTPFound(location=next_view)
예제 #2
0
def logout(request):
    logout_url = maybe_social_logout(request)
    forget(request)
    if logout_url:
        return HTTPFound(location=logout_url)
    next_view = handle_next_view(request, True)
    return HTTPFound(location=next_view)
예제 #3
0
파일: auth.py 프로젝트: shangxor/assembl
def logout(request):
    logout_url = maybe_social_logout(request)
    forget(request)
예제 #4
0
파일: auth.py 프로젝트: assembl/assembl
def logout(request):
    logout_url = maybe_social_logout(request)
    forget(request)