add comment for hindsight

This commit is contained in:
Hamcha 2023-07-02 03:31:37 +02:00
parent 1a14a0d9a4
commit 87c9ea5aca
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -85,6 +85,7 @@ pub async fn refresh_sessions<B>(
.get(COOKIE) .get(COOKIE)
.and_then(|header| extract_session_token(header).ok()) .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( find_and_refresh(
&state.database, &state.database,
session_id, session_id,