jeudi 24 septembre 2015

Laravel 5.1 Multyple Auth With two database

Continue from this question

Lets say I have :

Database_one:
users[
username,
password
]

And

Database_two:
employee[
username,
password
]

I was done make custom auth with database_one and work perfectly. in the same application, I want to create same auth but with database_two

I was found default auth laravel is

App\User
App\Http\Controllers\Auth
Config\Auth

What I must do now ? copy-paste default laravel auth file and change/modif value ? Or how ?

I am new to laravel,

Thanks for Adv.

Angga.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire