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

UP!!!!!

0

look in the docs for authentication.. it tells you what to do if you have an extra field..

http://laravel.com/docs/master/authentication#authenticating-users

0

Hi thank you for the response @shez1983 but... still I cant execute the login page with the fields I set. I'm open with other answer..

thank you

0

Hi this ticket has been solve..

in AuthenticatesUser.php I add the field I migrated to users table see the code below in line 97

    /**
     * Get the needed authorization credentials from the request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    protected function getCredentials(Request $request)
    {
        return $request->only($this->loginUsername(), 'password', 'customer_code');
    }

0

Sign in to participate in this thread!

Eventy

Your banner here too?

spike03 spike03 Joined 22 Jul 2015

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.