fix auth issues
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 5m3s
Build and Test / splatoon (push) Successful in 5m12s
Build and Test / mario-tennis (push) Successful in 5m15s
Build and Test / wii-u-chat (push) Successful in 5m16s
Build and Test / wii-sports-club (push) Successful in 5m17s
Build and Test / minecraft-wiiu (push) Successful in 5m22s
Build and Test / super-mario-maker (push) Successful in 5m24s
Build and Test / puyopuyo (push) Successful in 5m30s
Build and Test / sonic-transformed (push) Successful in 5m30s
Build and Test / fast-racing-neo (push) Successful in 5m37s
Build and Test / friends (push) Successful in 6m33s
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 5m3s
Build and Test / splatoon (push) Successful in 5m12s
Build and Test / mario-tennis (push) Successful in 5m15s
Build and Test / wii-u-chat (push) Successful in 5m16s
Build and Test / wii-sports-club (push) Successful in 5m17s
Build and Test / minecraft-wiiu (push) Successful in 5m22s
Build and Test / super-mario-maker (push) Successful in 5m24s
Build and Test / puyopuyo (push) Successful in 5m30s
Build and Test / sonic-transformed (push) Successful in 5m30s
Build and Test / fast-racing-neo (push) Successful in 5m37s
Build and Test / friends (push) Successful in 6m33s
This commit is contained in:
parent
c46b0c93d0
commit
1644731d8f
3 changed files with 6 additions and 7 deletions
|
|
@ -11,7 +11,7 @@ use rnex_rmc::{
|
|||
serialization::RmcSerialize,
|
||||
util::{SplittableBufferConnection, account::Account},
|
||||
};
|
||||
use rnex_server::{RnexManager, RnexModule, WeakPassthroughInitModule};
|
||||
use rnex_server::{ConnectionInitData, RnexManager, RnexModule, WeakPassthroughInitModule};
|
||||
use tracing::info;
|
||||
|
||||
use crate::auth_handler::AuthHandler;
|
||||
|
|
@ -27,7 +27,7 @@ pub struct AuthModule;
|
|||
|
||||
impl RnexManager for AuthManager {
|
||||
type User = AuthHandler;
|
||||
type InitData = SocketAddr;
|
||||
type InitData = ConnectionInitData;
|
||||
async fn init_new_user(
|
||||
this: rnex_server::PassthroughInitModule<Self>,
|
||||
_: &rnex_server::ModuleHolder,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ use nex_account::GUEST_PID;
|
|||
use rnex_fpd_protos::RemoteFriendRemote;
|
||||
use rnex_rmc::{RmcCallable, RmcPureRemoteObject};
|
||||
use rnex_server::{
|
||||
ConnectionInitData, RnexManager, RnexModule, WeakPassthroughInitModule, env_var,
|
||||
ConnectionInitData, EnvVarError, RnexManager, RnexModule, WeakPassthroughInitModule, env_var,
|
||||
};
|
||||
use rnex_util::PID;
|
||||
use sqlx::PgPool;
|
||||
|
|
@ -22,7 +22,7 @@ pub enum ModuleInitError {
|
|||
#[error(transparent)]
|
||||
Sqlx(#[from] sqlx::Error),
|
||||
#[error(transparent)]
|
||||
Env(#[from] env::VarError),
|
||||
Env(#[from] EnvVarError),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue