1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

minor fixes

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

View File

@ -998,6 +998,7 @@ 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());