todo updates
This commit is contained in:
parent
adeff61970
commit
e261d0d8eb
2 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue