1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

minor fixes

This commit is contained in:
David Bomba 2022-11-13 10:22:31 +11:00
parent c51bbaec43
commit d2491476e4

View File

@ -997,7 +997,8 @@ class BaseController extends Controller
}
public function reactCatch()
{
{
if ((bool) $this->checkAppSetup() !== false && $account = Account::first()) {
if (config('ninja.require_https') && ! request()->isSecure()) {
return redirect()->secure(request()->getRequestUri());