Support the ongoing development of Laravel.io →
Authentication Database Eloquent
Last updated 2 years ago.
0

Same issue here.

0

think i fixed the error but adding the following to model/User.php

 /**
     * Get the unique identifier for the user.
     *
     * @return mixed
     */
    public function getAuthIdentifier()
    {
        return $this->getKey();
    }

    /**
     * Get the password for the user.
     *
     * @return string
     */
    public function getAuthPassword()
    {
        return $this->password;
    }
0

Sign in to participate in this thread!

Eventy

Your banner here too?

bczm8703 bczm8703 Joined 22 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.