Remove france_connect delegation on User
This commit is contained in:
parent
14c8e02aca
commit
36ce94195b
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ class User < ApplicationRecord
|
|||
has_many :feedbacks, dependent: :destroy
|
||||
has_one :france_connect_information, dependent: :destroy
|
||||
|
||||
delegate :email_france_connect, :gender, :birthdate, :birthplace, :france_connect_particulier_id, to: :france_connect_information
|
||||
accepts_nested_attributes_for :france_connect_information
|
||||
|
||||
before_validation -> { sanitize_email(:email) }
|
||||
|
|
Loading…
Reference in a new issue