Adldap2-Laravel, where to put my logic
问题 I need to use Adldap2-Laravel. My laravel app is based in Laravel-boilerplate 5. The only login() method that I see that the app is using is this one: vendor\laravel\framework\src\Illuminate\Foundation\Auth\AuthenticatesUsers.php I know it's a vendor, but for testing purposes I have edited the public function login(Request $request) method like this way: public function login(Request $request){ if (\Adldap::auth()->attempt(str_replace('@example.com', '', $request->email), $request->password))