Glitch-Shrike/spec/controllers/auth
René Klačan dcf0530218 Make sure email is case insensitive on all places (#3688)
When case insensitivity is enabled via devise's `config.case_insensitive_keys` then `.find_for_authentication` method needs to be used instead of `.find_by` because second mentioned returns `nil` when valid email with different cases is passed.

More info https://github.com/plataformatec/devise/wiki/How-To:-Use-case-insensitive-emails
2017-06-11 02:29:08 +02:00
..
confirmations_controller_spec.rb
passwords_controller_spec.rb
registrations_controller_spec.rb
sessions_controller_spec.rb Make sure email is case insensitive on all places (#3688) 2017-06-11 02:29:08 +02:00