From b98646d8501689072f5624483d258adcbf6fc5c5 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Wed, 20 Jul 2022 08:32:05 -0400 Subject: auth: Set path to root for cookies --- src/handlers/auth.rs | 4 +++- src/main.rs | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/handlers/auth.rs b/src/handlers/auth.rs index 7e2642c..c00fb8d 100644 --- a/src/handlers/auth.rs +++ b/src/handlers/auth.rs @@ -43,7 +43,9 @@ pub async fn login_post(Form(login): Form, state: Extension>, jar: PrivateCookieJar) -> HtmlResul async fn statics(Path(name): Path) -> Result { for s in templates::statics::STATICS { - debug!("Name: {}\nContents:\n{:?}\n\n", s.name, s.content); + trace!("Name: {}\nContents:\n{:?}\n\n", s.name, s.content); } match templates::statics::StaticFile::get(&name) { -- cgit v1.2.3