Handle user returning from stripe connect without authenticating
This commit is contained in:
parent
e182ce9a66
commit
6db335575c
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue