From 26b1bc4107d4177b40df2a8745a0528d6e8e975b Mon Sep 17 00:00:00 2001 From: Andrew Dahl Date: Thu, 18 Nov 2010 22:28:23 +0100 Subject: [PATCH] Revert "remember to downcase on registration" This reverts commit 0c0444c078a8b88a48f2c972e5ad6f1eb22f4f86. --- app/controllers/devise/registrations_controller.rb | 3 --- 1 file changed, 3 deletions(-) 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