We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2094caa commit 7b4914bCopy full SHA for 7b4914b
src/Magento/FunctionalTestingFramework/DataTransport/Auth/Tfa/OTP.php
@@ -51,7 +51,7 @@ private static function create($path)
51
if (!isset(self::$totps[$path])) {
52
try {
53
// Get shared secret from Credential storage
54
- $encryptedSecret = CredentialStore::getInstance()->getSecret(self::OTP_SHARED_SECRET_PATH);
+ $encryptedSecret = CredentialStore::getInstance()->getSecret($path);
55
$secret = CredentialStore::getInstance()->decryptSecretValue($encryptedSecret);
56
} catch (TestFrameworkException $e) {
57
throw new TestFrameworkException('Unable to get OTP' . PHP_EOL . $e->getMessage());
0 commit comments