File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
handlers/src/graphql/model Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ use chrono::Duration;
88use schemars:: JsonSchema ;
99use serde:: { Deserialize , Serialize } ;
1010use serde_with:: serde_as;
11- use url:: Url ;
1211
1312use crate :: ConfigurationSection ;
1413
@@ -77,9 +76,10 @@ pub struct ExperimentalConfig {
7776 #[ serde( skip_serializing_if = "Option::is_none" ) ]
7877 pub inactive_session_expiration : Option < InactiveSessionExpirationConfig > ,
7978
80- /// Experimental feature to show a plan management tab and iframe
79+ /// Experimental feature to show a plan management tab and iframe.
80+ /// This value is passed through "as is" to the client without any validation.
8181 #[ serde( skip_serializing_if = "Option::is_none" ) ]
82- pub plan_management_iframe_uri : Option < Url > ,
82+ pub plan_management_iframe_uri : Option < String > ,
8383}
8484
8585impl Default for ExperimentalConfig {
Original file line number Diff line number Diff line change @@ -92,5 +92,5 @@ pub struct SiteConfig {
9292 pub login_with_email_allowed : bool ,
9393
9494 /// The iframe URL to show in the plan tab of the UI
95- pub plan_management_iframe_uri : Option < Url > ,
95+ pub plan_management_iframe_uri : Option < String > ,
9696}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub struct SiteConfig {
5757 /// Whether users can log in with their email address.
5858 login_with_email_allowed : bool ,
5959
60- plan_management_iframe_uri : Option < Url > ,
60+ plan_management_iframe_uri : Option < String > ,
6161}
6262
6363#[ derive( SimpleObject ) ]
You can’t perform that action at this time.
0 commit comments