From 1845f242980984630a79cad11ef0dbc62f5a259b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 9 Oct 2025 08:56:20 +0200 Subject: [PATCH] minor change of language keys --- op/op.Setup2Factor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op/op.Setup2Factor.php b/op/op.Setup2Factor.php index 14f3bfa44..0f5592771 100644 --- a/op/op.Setup2Factor.php +++ b/op/op.Setup2Factor.php @@ -40,9 +40,9 @@ switch($action) { $tfa = new \RobThree\Auth\TwoFactorAuth(new \RobThree\Auth\Providers\Qr\BaconQrCodeProvider()); header('Content-Type: application/json'); if($tfa->verifyCode($user->getSecret(), $_POST['code']) !== true) { - echo json_encode(array('success'=>false, 'message'=>getMLText("2_factor_auth_failed"), 'data'=>$_POST['code'])); + echo json_encode(array('success'=>false, 'message'=>getMLText("2_factor_auth_test_failed"), 'data'=>$_POST['code'])); } else { - echo json_encode(array('success'=>true, 'message'=>getMLText("2_factor_auth_succeeded"))); + echo json_encode(array('success'=>true, 'message'=>getMLText("2_factor_auth_test_succeeded"))); } exit; }