Hesto / multi-auth

Laravel 5.3, 5.4, 5.5, 5.6, 5.7 multi auth package
MIT License
448 stars 146 forks source link

Users table Laravel 5.5 : These credentials do not match our records. #93

Open lunadiotic opened 7 years ago

lunadiotic commented 7 years ago

Hi, i get constraints when i want to login using user guard. Table users I have filled but can not login using the data.

One more thing. When I access the '/ home' url, I'm redirected to 'admin / login' instead of '/ login' page.

hurano commented 7 years ago

I have the same issue.

amitshahc commented 6 years ago

Same here, even the forgot password link says token missmatch.

amitshahc commented 6 years ago

I am using Hesto/multi-auth

After crearting a new Auth module i was able to register the user but was not able to login. so that i updated the RegisterController.php->create() method and changed the password encryption from default bcrypt to md5. then I was able to login.

But i want to keep using bcrypt. how should I change the login method to use bcrypt instead of md5?

My Laravel version: 5.5.28

protected function create(array $data)
{
    return Shopowner::create([
        'name' => $data['name'],
        'email' => $data['email'],
        //'password' => bcrypt($data['password']),
        'password' => md5($data['password']),
    ]);
}