FosUserBundle double通过电子邮件确认注册

时间:2017-10-05 10:23:47

标签: php symfony fosuserbundle

当我在我的网站上注册时,我收到一封带有确认链接的电子邮件,好的。 当我咒骂它时,我有这个错误:

The user with confirmation token "%s" does not exist

在Db中用户没问题,lastLogin设置正确,confirm_token为空,一切正常。 似乎confirmAction已经启动了

您是否知道可以连续两次启动 confirmationAction 的原因?

(我认为这是问题)

1 个答案:

答案 0 :(得分:0)

可能会停用确认电子邮件,尝试强制enabled参数为true(doc):

# app/config/config.yml
fos_user:
    # ...
    registration:
        confirmation:
            enabled: true