mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
use common route for sensitive input
This commit is contained in:
parent
b8b5eee4fe
commit
0b1bdb43b5
1 changed files with 1 additions and 5 deletions
|
|
@ -275,7 +275,7 @@ impl Page {
|
||||||
match parts.get(1) {
|
match parts.get(1) {
|
||||||
Some(code) => match code.as_str() {
|
Some(code) => match code.as_str() {
|
||||||
// Input expected
|
// Input expected
|
||||||
"10" => {
|
"10" | "11" => {
|
||||||
match parts.get(3) {
|
match parts.get(3) {
|
||||||
Some(placeholder) => {
|
Some(placeholder) => {
|
||||||
// Format response
|
// Format response
|
||||||
|
|
@ -297,10 +297,6 @@ impl Page {
|
||||||
None => todo!(),
|
None => todo!(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Sensitive input expected
|
|
||||||
"11" => {
|
|
||||||
todo!()
|
|
||||||
},
|
|
||||||
// Success
|
// Success
|
||||||
"20" => {
|
"20" => {
|
||||||
match parts.get(2) {
|
match parts.get(2) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue