From 11cbeff4da37182af8e0a1b76ae70e5e0abd807c Mon Sep 17 00:00:00 2001 From: DJMrTV Date: Mon, 3 Feb 2025 20:44:33 +0100 Subject: [PATCH] fix(auth): make login not always error --- src/protocols/auth/method_login_ex.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/protocols/auth/method_login_ex.rs b/src/protocols/auth/method_login_ex.rs index 6c2504c..cc80dce 100644 --- a/src/protocols/auth/method_login_ex.rs +++ b/src/protocols/auth/method_login_ex.rs @@ -15,8 +15,6 @@ use crate::rmc::structures::connection_data::ConnectionData; use crate::rmc::structures::qresult::QResult; pub async fn login_ex(rmcmessage: &RMCMessage, proto_data: AuthProtocolConfig, pid: u32) -> RMCResponseResult{ - return rmcmessage.error_result_with_code(ErrorCode::Authentication_OutOfService); - // todo: figure out how the AuthenticationInfo struct works, parse it and validate login info let Ok(mut client) = account::Client::new().await else {