more debugging to help
All checks were successful
Build and Test / wii-sports-club (push) Successful in 3m39s
Build and Test / puyopuyo (push) Successful in 3m49s
Build and Test / sonic-transformed (push) Successful in 4m0s
Build and Test / wii-u-chat (push) Successful in 4m4s
Build and Test / friends (push) Successful in 4m9s
Build and Test / splatoon (push) Successful in 4m16s
Build and Test / splatoon-testfire (push) Successful in 4m24s
Build and Test / minecraft-wiiu (push) Successful in 4m35s
Build and Test / fast-racing-neo (push) Successful in 4m35s
Build and Test / mario-tennis (push) Successful in 4m35s
Build and Test / super-mario-maker (push) Successful in 5m21s
All checks were successful
Build and Test / wii-sports-club (push) Successful in 3m39s
Build and Test / puyopuyo (push) Successful in 3m49s
Build and Test / sonic-transformed (push) Successful in 4m0s
Build and Test / wii-u-chat (push) Successful in 4m4s
Build and Test / friends (push) Successful in 4m9s
Build and Test / splatoon (push) Successful in 4m16s
Build and Test / splatoon-testfire (push) Successful in 4m24s
Build and Test / minecraft-wiiu (push) Successful in 4m35s
Build and Test / fast-racing-neo (push) Successful in 4m35s
Build and Test / mario-tennis (push) Successful in 4m35s
Build and Test / super-mario-maker (push) Successful in 5m21s
This commit is contained in:
parent
c172b3eb8e
commit
49fd714d07
1 changed files with 7 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ impl AuthHandler {
|
|||
#[cfg(feature = "guest_login")]
|
||||
{
|
||||
if name == GUEST_ACCOUNT.username {
|
||||
log::info!("guest account login");
|
||||
let source_login_data = GUEST_ACCOUNT.get_login_data();
|
||||
let destination_login_data = self.destination_server_acct.get_login_data();
|
||||
|
||||
|
|
@ -118,25 +119,31 @@ impl AuthHandler {
|
|||
));
|
||||
}
|
||||
}
|
||||
|
||||
log::info!("parsing pid");
|
||||
let Ok(pid) = name.parse() else {
|
||||
warn!("unable to connect to parse pid: {}", name);
|
||||
return Err(ErrorCode::Core_InvalidArgument);
|
||||
};
|
||||
|
||||
log::info!("creating account grpc client");
|
||||
let Ok(mut client) = account::Client::new().await else {
|
||||
warn!("unable to connect to grpc");
|
||||
return Err(ErrorCode::Core_Exception);
|
||||
};
|
||||
|
||||
log::info!("grabbing nex key");
|
||||
let Ok(passwd) = client.get_nex_key(pid).await else {
|
||||
warn!("unable to get nex password for pid: {}:", pid);
|
||||
return Err(ErrorCode::Core_Exception);
|
||||
};
|
||||
|
||||
log::info!("source login data");
|
||||
let source_login_data = (pid, passwd);
|
||||
println!("{}, {:?}", pid, passwd);
|
||||
let destination_login_data = self.destination_server_acct.get_login_data();
|
||||
|
||||
log::info!("we are a-ok here");
|
||||
Ok((
|
||||
pid,
|
||||
generate_ticket(source_login_data, destination_login_data),
|
||||
|
|
|
|||
Loading…
Reference in a new issue