modifications après dernière review
This commit is contained in:
parent
3cd5d778ca
commit
b6d0502f39
8 changed files with 147 additions and 159 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue