Answers for "Type error: Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials()"

0

Type error: Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials()

use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;

class Admin extends Model implements AuthenticatableContract {

    use Authenticatable;
}
Posted by: Guest on April-29-2021

Code answers related to "Type error: Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials()"

Browse Popular Code Answers by Language