Allow sign in via case insensitive email address

This commit is contained in:
Sebastian Serth
2019-01-17 18:44:11 +01:00
parent ff8c1f6838
commit c498d2b08b
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ Rails.application.config.sorcery.configure do |config|
# downcase the username before trying to authenticate, default is false
# Default: `false`
#
# user.downcase_username_before_authenticating =
user.downcase_username_before_authenticating = true
# change default email attribute.