Friday, May 4, 2018

Set database based on authenticated user LARAVEL - development

Set database based on authenticated user LARAVEL

I’m using Laravel 5.6 and I would like to set the default database based on the authenticated user

like when user1 logged the DB1 set as default and like so with user2 set the databse to DB2

any suggest or other ways to make it?

thanks



from Laravel Questions and Answers https://laravelquestions.com/php/set-database-based-on-authenticated-user-laravel/
via Lzo Media

No comments:

Post a Comment