mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-16 13:15:11 +00:00
REST: don't print CSRF token
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
d2b63c504a
commit
16f05d6649
@ -504,7 +504,6 @@ fn check_auth(
|
||||
|
||||
if method != hyper::Method::GET {
|
||||
if let Some(token) = token {
|
||||
println!("CSRF prevention token: {:?}", token);
|
||||
verify_csrf_prevention_token(csrf_secret(), &userid, &token, -300, ticket_lifetime)?;
|
||||
} else {
|
||||
bail!("missing CSRF prevention token");
|
||||
|
Loading…
Reference in New Issue
Block a user