How can I change Laravel Sparks Authentication System?
Hi,
Can you please let me know, how I can modify Laravel Spark's login system to check if company_name == config('global.company_name') (In a standard auth query it would just be
AND WHERE company_name = "' . config('global.company_name') . '"
Can you also please tell me how I could change the email part of the authentication, to username(column name = 'name')
I am still looking for a solution for the AND WHERE company_name = '' part of it, I have decided to change my plans and get rid of the username part of it so the username part of my request no longer required.
Hopefully someone can help me figure this out.
Thanks in advance.