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

i guess you want to change the field 'email' ?

You can pass the field name as an argument to the basic method in the middleware. see line https://github.com/laravel/framework/blob/5.3/src/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.php#L38 and then https://github.com/laravel/framework/blob/5.3/src/Illuminate/Auth/SessionGuard.php#L289

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.