Skip to content
Browse files

Revert "remember to downcase on registration"

This reverts commit 0c0444c.
  • Loading branch information...
1 parent 0c0444c commit 26b1bc4107d4177b40df2a8745a0528d6e8e975b @adahl adahl committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 app/controllers/devise/registrations_controller.rb
View
3 app/controllers/devise/registrations_controller.rb
@@ -68,9 +68,6 @@ def cancel
# 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

0 comments on commit 26b1bc4

Please sign in to comment.
Something went wrong with that request. Please try again.