mercredi 23 novembre 2016

Passwords are not working

I migrated all the database from mysql to mongodb from another server to my local machine. The problem i got is that logins are not working. Any idea what went wrong.

The previous server was having apache. and this new server has ngnix.

The new registrations works fine. But the old ones doesnt.

here is the sample hash.

$2y$10$DD1SBEZSm4GAVc9gC4EIOup7KvhRWQds2fuyg.2GMPx3R8c1QKia6

here is the login code.

if (Auth::guard($this->getGuard())->attempt($credentials)) {...}

I am using: Laravel 5.3 ngnix mongodb



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire