This commit is contained in:
nora 2025-07-13 12:40:08 +02:00
parent 34f9302061
commit 4d7a2be572
2 changed files with 8 additions and 0 deletions

View file

@ -435,6 +435,8 @@ async fn login_2fa_post(
) -> Result<impl IntoResponse, Response> {
let now = jiff::Timestamp::now();
// TODO: limit age of locked session
let Some(session_id) = jar.get(crate::SESSION_ID_COOKIE_NAME) else {
return Err(Redirect::to("/").into_response());
};