Support the ongoing development of →
Authentication Security Database
Last updated 1 year ago.

Ok now it workes, i write my own auth method! The problem was, that all first tenant users are called "admin@account", an the controller searched only username and passwort, so the username was no unique .> and the laravel login doesn't work 8) -> Nice to know!

Now my problem is, that i need a constant database connection for the logged in user, to his tenant database, are there any turorials? In the auth controller i use: Config::set('database.connections.mysql.database', $acc_db->account_db); DB::reconnect(); But this works only for one statement...


Have you solved this problem yet?


show your database structure and example data


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.