todo updates

This commit is contained in:
Rusty Striker 2025-07-28 19:14:25 +03:00
parent adeff61970
commit e261d0d8eb
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
2 changed files with 1 additions and 1 deletions

View file

@ -11,6 +11,7 @@ to run open tavern, default port is 3001 and currently doesnt support command li
## Todo
[ ] Add `log` create and replace all `println!`s for proper logging (maybe also log to a file as well)
[ ] API request for listing available tokens/maps
[ ] Create token ui
[ ] Change scene map background (and set scene background)

View file

@ -150,7 +150,6 @@ async fn handle_socket(
let req = serde_json::from_str::<Request>(&t).unwrap_or_default();
println!("{} trying to log in incoming: {:?}", &temp_id, t);
match req {
// TODO: Actual signing in mechanism with multiple ids :)
Request::Login(r) => {
// allow 1 login attempt every 3 seconds
if last_login_req.elapsed() > std::time::Duration::from_secs(1) {