From 1d5dac1b1dcc1f6bcb503d6fe6fb514ce3c5c109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 8 Oct 2020 15:37:20 +0200 Subject: [PATCH] REST: don't print CSRF token MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- src/server/rest.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/rest.rs b/src/server/rest.rs index 4cfdd6c0..c985ccbd 100644 --- a/src/server/rest.rs +++ b/src/server/rest.rs @@ -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");