且构网

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

Django Microsoft AD 身份验证

更新时间:2023-12-03 14:59:04

django-microsoft-auth 使用标准的 django 登录页面并对其进行了扩展.我的猜测是您的自定义登录页面正在干扰它.您可以尝试删除该视图并再次测试以查看登录是否显示在/admin.

django-microsoft-auth uses the standard django login page and extends that. My guess is that your custom login page is interfering with that. You could try removing that view and test again to see if the login appears at /admin.

文件应该来自 django-microsoft-auth 包.您可以尝试使用 pip 卸载并重新安装它

The files should be coming from the django-microsoft-auth package. You could try uninstalling and reinstalling it again with pip