- update: schema now sets the skills column to prevent a crash
- update: frontend to only pass the session id - update: launcher to pass the session correctly - update: validate session response now returns the session id and user id to the requester - update: auth client based on session id instead of a jwt token
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
use crate::format_shell_command;
|
||||
use crate::wait_for_keypress;
|
||||
use std::borrow::Cow;
|
||||
use std::env;
|
||||
use std::process::exit;
|
||||
use std::process::{Command, Stdio};
|
||||
use tracing::{debug, error, info, warn};
|
||||
use url::Url;
|
||||
@@ -15,7 +18,7 @@ fn create_command() -> Command {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
let mut command = Command::new("./TRose.exe");
|
||||
let command = Command::new("./TRose.exe");
|
||||
command
|
||||
}
|
||||
|
||||
@@ -56,7 +59,8 @@ pub(crate) fn launch_game(url: String) {
|
||||
command.arg("_direct").arg("_otp").arg(value.to_string());
|
||||
}
|
||||
Cow::Borrowed("session") => {
|
||||
command.arg("_session").arg(value.to_string());
|
||||
is_direct = true;
|
||||
command.arg("_direct").arg("_session").arg(value.to_string());
|
||||
}
|
||||
Cow::Borrowed("username") => {
|
||||
command.arg("_userid").arg(value.to_string());
|
||||
|
||||
Reference in New Issue
Block a user