iachat/app/controllers/devise_overrides
Shivam Mishra c031cb19d2
fix: downcase email before finding (#8921)
* fix: downcase email when finding

* feat: add `from_email` class

* refactor: use `from_email`

* feat: add rule to disallow find_by email directly

* chore:  remove redundant test

Since the previous imlpmentation didn't do a case-insentive search, a new user would be created, and the error would be raised at the DB layer. With the new changes, this test case is redundant

* refactor: use from_email
2024-02-21 18:51:00 +05:30
..
confirmations_controller.rb fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
omniauth_callbacks_controller.rb feat: Google OAuth for login & signup (#6346) 2023-02-16 11:12:02 +05:30
passwords_controller.rb fix: downcase email before finding (#8921) 2024-02-21 18:51:00 +05:30
sessions_controller.rb fix: downcase email before finding (#8921) 2024-02-21 18:51:00 +05:30
token_validations_controller.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30