From 0b1bdb43b59cc0ed76e97bb6ea899b28b6a81d0b Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 17 Oct 2024 08:20:23 +0300 Subject: [PATCH] use common route for sensitive input --- src/app/browser/window/tab/item/page.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 7d51a3f5..77b769e4 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -275,7 +275,7 @@ impl Page { match parts.get(1) { Some(code) => match code.as_str() { // Input expected - "10" => { + "10" | "11" => { match parts.get(3) { Some(placeholder) => { // Format response @@ -297,10 +297,6 @@ impl Page { None => todo!(), } }, - // Sensitive input expected - "11" => { - todo!() - }, // Success "20" => { match parts.get(2) {