mastodon/spec
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
..
controllers Make sure email is case insensitive on all places (#3688) 2017-06-11 02:29:08 +02:00
fabricators
features
fixtures
helpers
javascript
lib
mailers
models
policies
presenters
requests
routing
services
support
views
workers
rails_helper.rb
spec_helper.rb