diff --git a/server/plugin/plg_runtime_cookbook/authentication/lib.rs b/server/plugin/plg_runtime_cookbook/authentication/lib.rs index 9c8f4dd9..0a819962 100644 --- a/server/plugin/plg_runtime_cookbook/authentication/lib.rs +++ b/server/plugin/plg_runtime_cookbook/authentication/lib.rs @@ -11,12 +11,15 @@ impl Authentication for Plugin { Form { label: String::from("type"), kind: String::from("hidden"), - value: Some(String::from("test")), + value: String::from("test"), + ..Default::default() + }, Form { label: String::from("banner"), kind: String::from("text"), - value: Some(String::from("An authentication plugin that always say yes")), + value: String::from("An authentication plugin that always say yes"), + ..Default::default() }, ] }