Revert "remember to downcase on registration"

This reverts commit 0c0444c078.
This commit is contained in:
Andrew Dahl 2010-11-18 22:28:23 +01:00
parent 0c0444c078
commit 26b1bc4107
1 changed files with 0 additions and 3 deletions

View File

@ -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