forked from proxmox-mirrors/proxmox
auth-api: cleanup a warning
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
a6dc4d322d
commit
fc75d98cb3
@ -208,6 +208,7 @@ impl HMACKey {
|
|||||||
// This is needed for legacy CSRF token verifyication.
|
// This is needed for legacy CSRF token verifyication.
|
||||||
//
|
//
|
||||||
// TODO: remove once all dependent products had a major version release (PBS)
|
// TODO: remove once all dependent products had a major version release (PBS)
|
||||||
|
#[cfg(feature = "api")]
|
||||||
pub(crate) fn as_bytes(&self) -> Result<Vec<u8>, Error> {
|
pub(crate) fn as_bytes(&self) -> Result<Vec<u8>, Error> {
|
||||||
// workaround to get access to the the bytes behind the key.
|
// workaround to get access to the the bytes behind the key.
|
||||||
self.key
|
self.key
|
||||||
|
Loading…
Reference in New Issue
Block a user