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;
8
8
use schemars:: JsonSchema ;
9
9
use serde:: { Deserialize , Serialize } ;
10
10
use serde_with:: serde_as;
11
- use url:: Url ;
12
11
13
12
use crate :: ConfigurationSection ;
14
13
@@ -77,9 +76,10 @@ pub struct ExperimentalConfig {
77
76
#[ serde( skip_serializing_if = "Option::is_none" ) ]
78
77
pub inactive_session_expiration : Option < InactiveSessionExpirationConfig > ,
79
78
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.
81
81
#[ serde( skip_serializing_if = "Option::is_none" ) ]
82
- pub plan_management_iframe_uri : Option < Url > ,
82
+ pub plan_management_iframe_uri : Option < String > ,
83
83
}
84
84
85
85
impl Default for ExperimentalConfig {
Original file line number Diff line number Diff line change @@ -92,5 +92,5 @@ pub struct SiteConfig {
92
92
pub login_with_email_allowed : bool ,
93
93
94
94
/// 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 > ,
96
96
}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub struct SiteConfig {
57
57
/// Whether users can log in with their email address.
58
58
login_with_email_allowed : bool ,
59
59
60
- plan_management_iframe_uri : Option < Url > ,
60
+ plan_management_iframe_uri : Option < String > ,
61
61
}
62
62
63
63
#[ derive( SimpleObject ) ]
You can’t perform that action at this time.
0 commit comments