且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

远程认证用户的Django注销

更新时间:2023-12-02 11:36:10

使用的 Htt的presponse 返回状态401。

Use HttpResponse to return status 401.

def logout(request):
    return HttpResponse(content, status=401)

这将出从Kerebos登录用户。

This will log the user out from Kerebos.

贷:我看到这个解决方案,其他相关的基本身份验证