mirror of
https://github.com/funamitech/mastodon
synced 2024-12-05 02:09:05 +09:00
dcf0530218
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 |
||
---|---|---|
.. | ||
confirmations_controller_spec.rb | ||
passwords_controller_spec.rb | ||
registrations_controller_spec.rb | ||
sessions_controller_spec.rb |