fixup hardcoded paths
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
184a37635b
commit
221177ba41
|
@ -10,8 +10,8 @@ use proxmox::tools::fs::{open_file_locked, CreateOptions};
|
|||
use crate::api2::types::Authid;
|
||||
use crate::auth;
|
||||
|
||||
const LOCK_FILE: &str = "/etc/proxmox-backup/token.shadow.lock";
|
||||
const CONF_FILE: &str = "/etc/proxmox-backup/token.shadow";
|
||||
const LOCK_FILE: &str = configdir!("/token.shadow.lock");
|
||||
const CONF_FILE: &str = configdir!("/token.shadow");
|
||||
const LOCK_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
|
||||
#[serde(rename_all="kebab-case")]
|
||||
|
|
Loading…
Reference in New Issue