lol woops

This commit is contained in:
Hamcha 2023-07-01 20:57:50 +02:00
parent 72ac29fad7
commit 945afa0c43
Signed by: hamcha
GPG Key ID: 1669C533B8CF6D89
1 changed files with 0 additions and 1 deletions

View File

@ -183,7 +183,6 @@ impl FromRequestParts<Arc<AppState>> for RequireSession {
match Session::find(&state.database, session_id).await? {
None => Err(INVALID_SESSION),
Some((session, user)) => {
println!("{:?}<{:?}", session.expires_at, Utc::now().naive_utc());
if session.secret != session_secret {
return Err(INVALID_SESSION);
}