diff --git a/pubky-homeserver/src/routes/auth.rs b/pubky-homeserver/src/routes/auth.rs index 034d29c..654c030 100644 --- a/pubky-homeserver/src/routes/auth.rs +++ b/pubky-homeserver/src/routes/auth.rs @@ -15,6 +15,7 @@ use tower_cookies::{ }; use pubky_common::{crypto::random_bytes, session::Session, timestamp::Timestamp}; +use tracing::debug; use crate::{ database::tables::{ @@ -138,6 +139,8 @@ pub async fn signin( } cookie.set_http_only(true); + debug!(?cookie, "Created, saved and sending a new Session cookie"); + cookies.add(cookie); wtxn.commit()?;