mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-10 05:03:15 +00:00
tools: rename extract_auth_cookie to extract_cookie
It does nothing specific to authentication.. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3c8cb5129e
commit
7917e89426
@ -446,7 +446,7 @@ fn extract_auth_data(headers: &http::HeaderMap) -> (Option<String>, Option<Strin
|
|||||||
let mut ticket = None;
|
let mut ticket = None;
|
||||||
if let Some(raw_cookie) = headers.get("COOKIE") {
|
if let Some(raw_cookie) = headers.get("COOKIE") {
|
||||||
if let Ok(cookie) = raw_cookie.to_str() {
|
if let Ok(cookie) = raw_cookie.to_str() {
|
||||||
ticket = tools::extract_auth_cookie(cookie, "PBSAuthCookie");
|
ticket = tools::extract_cookie(cookie, "PBSAuthCookie");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user