mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-04 21:05:57 +00:00
tfa: upgrade check: more info in error message(s)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9f34502077
commit
b649f3b40e
@ -1785,11 +1785,11 @@ sub assert_new_tfa_config_available() {
|
|||||||
}
|
}
|
||||||
my ($maj, $rel) = ($1, $2);
|
my ($maj, $rel) = ($1, $2);
|
||||||
if (!($maj > 7.0 || ($maj == 7.0 && $rel >= 15))) {
|
if (!($maj > 7.0 || ($maj == 7.0 && $rel >= 15))) {
|
||||||
$old .= "cluster node '$node' is too old\n";
|
$old .= " cluster node '$node' is too old ($ver < 7.0-15)\n";
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
die $old if length($old);
|
die "cannot update tfa config, following nodes are not up to date:\n$old" if length($old);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub user_remove_tfa : prototype($) {
|
sub user_remove_tfa : prototype($) {
|
||||||
|
Loading…
Reference in New Issue
Block a user