Version 5.0.0 beta 11.1
This commit is contained in:
1 parent
264eeb97e0
commit
90e8c7e903
466 files changed
+7796
-2394
No files matched your search
@@ -789,7 +789,7 @@ class checkout extends Controller
|
||||
/* Two-Factor Authentication */
|
||||
if ( isset( Request::i()->mfa ) and isset( $_SESSION['processing2FACheckout'] ) and $_SESSION['processing2FACheckout']['invoice'] === $this->invoice->id )
|
||||
{
|
||||
$member = Member::load( $_SESSION['processing2FACheckout']['memberId'] );
|
||||
$member = Customer::load( $_SESSION['processing2FACheckout']['memberId'] );
|
||||
if ( !$member->member_id )
|
||||
{
|
||||
unset( $_SESSION['processing2FACheckout'] );
|
||||
@@ -827,7 +827,7 @@ class checkout extends Controller
|
||||
else
|
||||
{
|
||||
/* Set the invoice owner */
|
||||
$this->invoice->member = $success->member;
|
||||
$this->invoice->member = Customer::load( $success->member->member_id );
|
||||
$this->invoice->save();
|
||||
|
||||
/* Process the login */
|
||||
|
||||
Reference in new issue
Block a user