I'm migrating a Drupal6 project in Laravel, so i need to use the "old" Drupal6 users table with passwords in MD5. Is there a way to modify the call to Auth passing the password in md5, without modifying the core Laravel files?
I do:
$userdata = array(
'mail' => Input::get('email'),
'password' => Input::get('password')
);
if (Auth::attempt($userdata)) {
//OK
}
else {
//KO
}
How can i handle custom user auth in Laravel?