Sha256: eb27d442d1919c913bf9afd4b1094238daca768cd4c0596fa57be002ec70b46a

Contents?: true

Size: 471 Bytes

Versions: 21

Compression:

Stored size: 471 Bytes

Contents

class RegistrationsController < DeviseTokenAuth::RegistrationsController
  before_filter :configure_permitted_parameters

  def configure_permitted_parameters
    devise_parameter_sanitizer.for(:sign_up) do |u|
      u[:email] = u[:email].downcase
      u[:email_confirmation] = u[:email_confirmation].downcase
      u.permit( :email,
                :email_confirmation,
                :password,
                :password_confirmation
              )
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
xing-framework-1.0.0.pre.beta.1 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-1.0.0.pre.beta default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-1.0.0.pre.alpha default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.3.2 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.3.1 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.3.0 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.9 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.9.beta1 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.8 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.8.beta1 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.7 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.7.pre.beta1 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.6 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.5 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.4 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.3 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.2 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.1 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.2.0 default_configuration/base_app/backend/app/controllers/registrations_controller.rb
xing-framework-0.0.3 default_configuration/base_app/backend/app/controllers/registrations_controller.rb