mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Set Client on webhook return Checkout.com
This commit is contained in:
parent
a0a6054faa
commit
6c2ab8fff5
@ -447,6 +447,7 @@ class CheckoutComPaymentDriver extends BaseDriver
|
||||
//11-08-2022 check the user is authenticated
|
||||
if (!Auth::guard('contact')->check()) {
|
||||
$client = $request->getClient();
|
||||
$this->client = $client;
|
||||
auth()->guard('contact')->loginUsingId($client->contacts()->first()->id, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user