to be sure, delete possible email_merge_token if correct password merge
This commit is contained in:
parent
e12dbe7aad
commit
586e4ed613
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ class FranceConnect::ParticulierController < ApplicationController
|
||||||
else
|
else
|
||||||
@fci.update(user: user)
|
@fci.update(user: user)
|
||||||
@fci.delete_merge_token!
|
@fci.delete_merge_token!
|
||||||
|
@fci.delete_email_merge_token!
|
||||||
|
|
||||||
flash.notice = t('france_connect.particulier.flash.connection_done', application_name: APPLICATION_NAME)
|
flash.notice = t('france_connect.particulier.flash.connection_done', application_name: APPLICATION_NAME)
|
||||||
connect_france_connect_particulier(user)
|
connect_france_connect_particulier(user)
|
||||||
|
|
Loading…
Reference in a new issue