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

No, since the auth driver still only uses the model you specify in auth config file. To use two different models for validation, you'll need to extend the Eloquent auth driver.

Last updated 2 years ago.
0

How would one do that?

Last updated 2 years ago.
0

Thank you for your reply. I see our customers use 5.3.0, any way to install Laravel on their servers? [url=http://www.pass-4sure.me]http://pass-4sure.me[/url] (cannot upgrade PHP, it's just not in our power..) Can we use an older Larave version?

Last updated 2 years ago.
0

@lstables

Apparantly there is a solution: https://github.com/ollieread/multiauth (I only just googled it and haven't used it yet).

Last updated 2 years ago.
0

can't load it via composer for laravel 5...

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

lstables lstables Joined 5 Jan 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.