I can read tenant database by $tenant->run(function) -callback
problem is how to swicht it and use it for $request->authenticate(); ???
$request->authenticate();
$request->session()->regenerate();
}
if (Auth::check()) {
dd('Auth check succefully!');
return redirect('http://'.$domain.':8000'.'/dashboard');
}
return back()->withErrors([
'email' => 'The provided credentials do not match our records.',
])->onlyInput('email');
it always return central DB and get's Error: 'The provided credentials do not match our records.'
Hello
I have tried to build login when using Breeze and tenant.
I can read tenant database by $tenant->run(function) -callback
problem is how to swicht it and use it for $request->authenticate(); ???
it always return central DB and get's Error: 'The provided credentials do not match our records.'
Thanks Mika.