mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-23 07:14:10 +00: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 |
||
---|---|---|
.. | ||
admin | ||
api | ||
auth | ||
concerns | ||
oauth | ||
settings | ||
well_known | ||
about_controller.rb | ||
account_follow_controller.rb | ||
account_unfollow_controller.rb | ||
accounts_controller.rb | ||
application_controller.rb | ||
authorize_follows_controller.rb | ||
follower_accounts_controller.rb | ||
following_accounts_controller.rb | ||
home_controller.rb | ||
manifests_controller.rb | ||
media_controller.rb | ||
remote_follow_controller.rb | ||
statuses_controller.rb | ||
stream_entries_controller.rb | ||
tags_controller.rb |