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

Probably best to extend / implement your own auth driver. There's a couple of good articles on the subject...

http://www.karlvalentin.de/1903/write-your-own-auth-driver-for-laravel-4.html

http://toddish.co.uk/blog/creating-a-custom-laravel-4-auth-driver/

Last updated 2 years ago.
0

Thx for your reply, now im definitely considering using some auth lib...

Last updated 2 years ago.
0

You should just have to replace the userprovider, which is a small class that's easy to modify.

https://github.com/laravel/framework/blob/v4.1.20/src/Illuminate/Auth/EloquentUserProvider.php

Auth::setProvider(new MyUserProvider)

Last updated 2 years ago.
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.