Blocking logins from different domains

Hi, is there some sort of protection that whenever an admin tries to login that has an email that does not match the website it blocks that. What I am experiencing: All users with [email protected] work and are able to login but whenever I change an users mail to [email protected] the login states that credentials do not match. If I change the mail address back again to [email protected] it works like expected again.
Solution:
Check your canAccess function on the user model, maybe you're checking the email domain there. By default laravel auth doesnt block access based on the domain.
Jump to solution
1 Reply
Solution
Bruno Pereira
Bruno Pereira2w ago
Check your canAccess function on the user model, maybe you're checking the email domain there. By default laravel auth doesnt block access based on the domain.
Want results from more Discord servers?
Add your server