This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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
passwords_controller.rb
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