【问题标题】:/complete/email does not exist in python-social-auth/complete/email 在 python-social-auth 中不存在
【发布时间】:2015-05-05 20:33:11
【问题描述】:

我正在使用python-social-auth 进行登录功能。

我添加了 facebook 和 instagram 登录。现在我正在尝试使用电子邮件进行标准身份验证。

Documentation 说我的登录表单应该提交给/complete/email

但是当我提交它说Page was not found

我做错了什么?也许文档已经过时了?

【问题讨论】:

    标签: python django authentication python-social-auth


    【解决方案1】:

    好吧,这是我的一个非常愚蠢的错误:

    只需将'social.backends.email.EmailAuth' 添加到 AUTHENTICATION_BACKENDS。

    【讨论】:

    • @Yeo 我现在不允许这样做。 2天后
    猜你喜欢
    • 2021-04-20
    • 1970-01-01
    • 1970-01-01
    • 2016-12-17
    • 2021-11-28
    • 2015-07-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多