mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-14 17:15:02 +01:00
t
This commit is contained in:
parent
34f9302061
commit
4d7a2be572
2 changed files with 8 additions and 0 deletions
|
|
@ -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());
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue