diff --git a/crates/websocket/src/handlers.rs b/crates/websocket/src/handlers.rs index 055129cd..5c3a1735 100644 --- a/crates/websocket/src/handlers.rs +++ b/crates/websocket/src/handlers.rs @@ -249,7 +249,7 @@ impl Handler for ChatServer { let check = self .captchas .iter() - .any(|r| r.uuid == msg.uuid && r.answer == msg.answer); + .any(|r| r.uuid == msg.uuid && r.answer.to_lowercase() == msg.answer.to_lowercase()); // Remove this uuid so it can't be re-checked (Checks only work once) self.captchas.retain(|x| x.uuid != msg.uuid);