From: Thomas Lamprecht Date: Thu, 2 Dec 2021 18:23:15 +0000 (+0100) Subject: tfa: clarify error on unsupported types a bit X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4a834b4edd33220c3597652ede120840c9163837;p=pve-apiclient.git tfa: clarify error on unsupported types a bit Signed-off-by: Thomas Lamprecht --- 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') {