diff options
| author | KunoiSayami <[email protected]> | 2021-05-16 00:31:22 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2021-05-16 01:14:21 +0800 |
| commit | 345197aa4aa148346f14eb3ef1cc76109c9198c4 (patch) | |
| tree | 0b068f1dd92e15f95f3437df9cb99d9737abee3b /src/main.rs | |
| parent | 2f051ba28328f57552fd8758bdd8877e2b0d86ef (diff) | |
doc: Add configure sections to READMEv1.0.0
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index b42d827..45fb166 100644 --- a/src/main.rs +++ b/src/main.rs @@ -230,7 +230,6 @@ async fn verify_login(cfg: &Config, data: &FormData) -> Result<bool> { pub struct Meta<'a> { action: &'a str, redirect: &'a str, - //custom_warning: &'a str, } // Processing the `body` called by cgit. @@ -240,7 +239,6 @@ async fn cmd_body(matches: &ArgMatches<'_>, _cfg: Config) { let meta = Meta { action: matches.value_of("login-url").unwrap_or(""), redirect: matches.value_of("current-url").unwrap_or(""), - //custom_warning: cfg.get_secret_warning() }; handlebars .render_template_to_write(source, &meta, std::io::stdout()) |
