app/controllers/users/registrations_controller.rb
# Overwrite update_resource to let users to update their user without giving their password

Overwrite update_resource to let users to update their user without giving their password
Overwrite update_resource to let users to update their user without giving their password
def create
    super do |user|
      user.email_settings = EmailSettings.create(user_id: user.id)
    end
  end
def create super do | user | user . email_settings = EmailSettings . create ( user_id : user . id ) end end
Overwrite update_resource to let users to update their user without giving their password
Overwrite update_resource to let users to update their user without giving their password