Ok now it workes, i write my own auth method! The problem was, that all first tenant users are called "[email protected]", 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...
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us