mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 05:04:34 -04: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'),
|
'code' => $request->input('code'),
|
||||||
]);
|
]);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
nlog($e->getMessage());
|
|
||||||
throw new SystemError($e->getMessage(), 500);
|
return view('auth.connect.access_denied');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MultiDB::findAndSetDbByCompanyKey($request->getTokenContent()['company_key']);
|
MultiDB::findAndSetDbByCompanyKey($request->getTokenContent()['company_key']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user