mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Revert "remember to downcase on registration"
This reverts commit 0c0444c078
.
This commit is contained in:
parent
0c0444c078
commit
26b1bc4107
1 changed files with 0 additions and 3 deletions
|
@ -68,9 +68,6 @@ class Devise::RegistrationsController < ApplicationController
|
||||||
# temporary session data to the newly created user.
|
# temporary session data to the newly created user.
|
||||||
def build_resource(hash=nil)
|
def build_resource(hash=nil)
|
||||||
hash ||= params[resource_name] || {}
|
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)
|
self.resource = resource_class.new_with_session(hash, session)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue