]> git.proxmox.com Git - pve-apiclient.git/commitdiff
tfa: clarify error on unsupported types a bit
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Dec 2021 18:23:15 +0000 (19:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Dec 2021 18:23:15 +0000 (19:23 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/APIClient/LWP.pm

index 27ecfed6ee38b193afcf165e7144b3354b96346e..ed7e4feecbc1133af06e9202e8dcb5cddd1d7a53 100755 (executable)
@@ -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') {