fix(server): remove aa_details for user from temp after sending
1 files changed, 3 insertions(+), 2 deletions(-) M server/src/systems/event/mod.rs
M server/src/systems/event/mod.rs => server/src/systems/event/mod.rs +3 -2
@@ 67,7 67,7 @@ pub(crate) fn auth_events( pub(crate) fn connect_events( mut ev: EventReader<ConnectEvent>, mut server: Server, temp: Res<RuntimeTemp>, mut temp: ResMut<RuntimeTemp>, ) { for ConnectEvent(user_key) in ev.iter() { @@ let address = server.user(user_key).address(); 81,7 81,8 @@ pub(crate) fn connect_events( username: aa_details.0.clone(), cookie: aa_details.1.clone(), }, ) ); temp.afterauth_details.remove(&user_key); } }