tfa: clarify error on unsupported types a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-12-02 19:23:15 +01:00
parent 3bfa976eaa
commit 4a834b4edd

View File

@ -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') {