From 4a834b4edd33220c3597652ede120840c9163837 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 2 Dec 2021 19:23:15 +0100 Subject: [PATCH] tfa: clarify error on unsupported types a bit Signed-off-by: Thomas Lamprecht --- PVE/APIClient/LWP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/APIClient/LWP.pm b/PVE/APIClient/LWP.pm index 27ecfed..ed7e4fe 100755 --- a/PVE/APIClient/LWP.pm +++ b/PVE/APIClient/LWP.pm @@ -147,7 +147,7 @@ my sub two_factor_auth_login : prototype($$$) { } $selected = $available[$selected]; } else { - raise("TFA required, but available authentication types are not supported, aborting!"); + raise("TFA required, but none of the configure factors is supported over TTY, aborting!"); } if ($selected eq 'recovery') { -- 2.39.2