diff --git a/src/mods/handler.rs b/src/mods/handler.rs index 5eb9412b..a4362f76 100644 --- a/src/mods/handler.rs +++ b/src/mods/handler.rs @@ -133,7 +133,7 @@ pub async fn handle_playurl_request(req: &HttpRequest, is_app: bool, is_th: bool // detect user's access_key params.access_key = match query.get("access_key") { Some(key) => { - if key.len() != 32 && key.len() != 107 { + if key.len() < 32 { error!("[GET PLAYURL] IP {client_ip} -> Detect req with invalid access_key {key}"); build_response!(EType::UserNotLoginedError); } else {