modifications après dernière review

This commit is contained in:
Kara Diaby 2024-07-25 11:24:43 +00:00
parent 3cd5d778ca
commit b6d0502f39
No known key found for this signature in database
GPG key ID: C4D1B0CF9F24D759
8 changed files with 147 additions and 159 deletions

View file

@ -15,7 +15,6 @@ class FranceConnectInformation < ApplicationRecord
password: Devise.friendly_token[0, 20],
confirmed_at: Time.zone.now
)
send_custom_confirmation_instructions(user)
rescue ActiveRecord::RecordNotUnique
# ignore this exception because we check before if user is nil.
# exception can be raised in race conditions, when FranceConnect calls callback 2 times.