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

Handle user returning from stripe connect without authenticating

This commit is contained in:
David Bomba 2023-02-09 11:07:40 +11:00
parent e182ce9a66
commit 6db335575c

View File

@ -80,8 +80,9 @@ class StripeConnectController extends BaseController
'code' => $request->input('code'),
]);
} catch (\Exception $e) {
nlog($e->getMessage());
throw new SystemError($e->getMessage(), 500);
return view('auth.connect.access_denied');
}
MultiDB::findAndSetDbByCompanyKey($request->getTokenContent()['company_key']);