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:
parent
e182ce9a66
commit
6db335575c
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user