arno
arno

Reputation: 823

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)

Upvotes: 1

Views: 84

Answers (1)

COil
COil

Reputation: 7596

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 

Upvotes: 1

Related Questions