fix session deserialize

This commit is contained in:
Robin Appelman 2023-11-26 16:42:21 +01:00
commit b36f989a23
4 changed files with 42 additions and 32 deletions

View file

@ -245,6 +245,7 @@ async fn login_callback(
error!("{e:?}");
Error::SteamAuth
})?;
info!(steam_id, "received steam login callback");
let steam_id = SteamId::new(steam_id);
let user = User::get(&app.connection, steam_id).await?;
let mut session = Session::new();