mastodon-glitch/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 Spec Auth::ConfirmationsController (#3348) 2017-05-29 18:13:11 +02:00
passwords_controller_spec.rb Spec Auth::PasswordsController (#3352) 2017-05-29 18:10:50 +02:00
registrations_controller_spec.rb Fix Devise destroy method being available to delete user record (#3266) 2017-05-23 21:32:42 +02:00
sessions_controller_spec.rb Make sure email is case insensitive on all places (#3688) 2017-06-11 02:29:08 +02:00