Skip to content

Commit 7432b52

Browse files
committed
MQE-2082: MFTF compatibility with 2fa
1 parent c0b7f3d commit 7432b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/DataTransport/AdminFormExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private function authorize()
8787

8888
// Get OTP
8989
if (Tfa::isEnabled()) {
90-
$authUrl = MftfGlobals::getBackendBaseUrl() . 'tfa/google/authpost/?isAjax=true';
90+
$authUrl = MftfGlobals::getBackendBaseUrl() . Tfa::getProviderAdminFormEndpoint('google');
9191
$data = [
9292
'tfa_code' => OTP::getOTP(),
9393
'form_key' => $this->formKey,

0 commit comments

Comments
 (0)