简体   繁体   中英

FosUserBundle double Confirm registration by email

when I register on my website, I receive an email with the link of confirmation, ok. When I clic on it, I have this error:

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

In the Db the user is ok, the lastLogin is set correctly, the confirmation_token is null, all is ok. it seems that the confirmationAction has already been launched

Do you know a reason that can launch the confirmationAction twice in a row?

(I think its the problem)

The confirmation email may be disabled, try to force the enabled parameter to true ( doc ):

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM