From 87c9ea5acad79d319b6a163382f8d3d5e01f5a46 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Sun, 2 Jul 2023 03:31:37 +0200 Subject: [PATCH] add comment for hindsight --- src/auth/http.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth/http.rs b/src/auth/http.rs index 55b33b7..d0b683d 100644 --- a/src/auth/http.rs +++ b/src/auth/http.rs @@ -85,6 +85,7 @@ pub async fn refresh_sessions( .get(COOKIE) .and_then(|header| extract_session_token(header).ok()) { + // in the future we might wanna change the session secret, if we do, do it here! find_and_refresh( &state.database, session_id,