xxxxxxxxxx
// app/Providers/AppServiceProvider.php
public function boot()
{
Fortify::authenticateUsing(function ($request) {
Auth::attempt([
// "mail" is an LDAP attribute
'mail' => $request->email,
'password' => $request->password
]);
return Auth::user();
});
}