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

Add in verification view for gocardless

This commit is contained in:
David Bomba 2023-04-25 09:31:58 +10:00
parent 86585d5c8e
commit a71e8bd5e0
2 changed files with 2 additions and 1 deletions

View File

@ -671,7 +671,7 @@ class LoginController extends BaseController
$request_from_react = Cache::pull("react_redir:".auth()->user()->account->key);
if($request_from_react)
$redirect_url = 'https://app.invoicing.co/#/settings/user_details/connect';
$redirect_url = config('ninja.react_url')."/#/settings/user_details/connect";
return redirect($redirect_url);
}

View File

@ -5,6 +5,7 @@ return [
'web_url' => 'https://www.invoiceninja.com',
'admin_token' => env('NINJA_ADMIN_TOKEN', ''),
'license_url' => 'https://app.invoiceninja.com',
'react_url' => 'https://app.invoicing.co',
'production' => env('NINJA_PROD', false),
'license' => env('NINJA_LICENSE', ''),
'version_url' => 'https://pdf.invoicing.co/api/version',