mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-06 09:18:11 +00:00
fixup call to cfs_lock_authkey
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
21800a71a7
commit
03593f3d01
@ -158,7 +158,7 @@ sub check_authkey {
|
||||
sub rotate_authkey {
|
||||
return if $authkey_lifetime == 0;
|
||||
|
||||
cfs_lock_authkey(undef, sub {
|
||||
PVE::Cluster::cfs_lock_authkey(undef, sub {
|
||||
# re-check with lock to avoid double rotation in clusters
|
||||
return if check_authkey();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user