diff --git a/app/controllers/devise/registrations_controller.rb b/app/controllers/devise/registrations_controller.rb index 751e8d12..8257e4b4 100644 --- a/app/controllers/devise/registrations_controller.rb +++ b/app/controllers/devise/registrations_controller.rb @@ -68,9 +68,6 @@ class Devise::RegistrationsController < ApplicationController # temporary session data to the newly created user. def build_resource(hash=nil) hash ||= params[resource_name] || {} - if Devise.case_insensitive_keys - Devise.authentication_keys.each { |k| hash[k].try(:downcase!) } - end self.resource = resource_class.new_with_session(hash, session) end