tootlab-mastodon/app/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.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
passwords_controller.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
registrations_controller.rb Fix Devise destroy method being available to delete user record (#3266) 2017-05-23 21:32:42 +02:00
sessions_controller.rb Make sure email is case insensitive on all places (#3688) 2017-06-11 02:29:08 +02:00