diff --git a/src/methods/account_new.rs b/src/methods/account_new.rs index 3125784..85e26fd 100644 --- a/src/methods/account_new.rs +++ b/src/methods/account_new.rs @@ -37,7 +37,6 @@ pub async fn post_new_account(mut req: Request) -> tide::Result { }; if let Some(error) = is_valid_name(&user) { - return Ok(json!({"result": "error", "error": error}).into()); }