1
0
Fork 1
forked from fedi/mastodon
mastodon/app
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
helpers Improve RTL detection (#3682) 2017-06-10 15:06:50 +02:00
javascript Update NL for 1.4.2 (#3685) 2017-06-10 17:26:01 +02:00
lib Language detection defaults to nil (#3666) 2017-06-09 18:09:37 +02:00
mailers Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
models Correct validators so that existing error messages would look correct (#3668) 2017-06-09 19:46:01 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Bump version, improve how version is stored for better commit history (#2526) 2017-04-27 15:22:19 +02:00
services Fix #3378 - If favourite/reblog already exists, return it instead of failing (#3641) 2017-06-08 15:07:39 +02:00
validators Correct validators so that existing error messages would look correct (#3668) 2017-06-09 19:46:01 +02:00
views Improve RTL detection (#3682) 2017-06-10 15:06:50 +02:00
workers change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00