From 345197aa4aa148346f14eb3ef1cc76109c9198c4 Mon Sep 17 00:00:00 2001 From: KunoiSayami <46131041+KunoiSayami@users.noreply.github.com> Date: Sun, 16 May 2021 00:31:22 +0800 Subject: doc: Add configure sections to README --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main.rs') 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 { 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()) -- cgit v1.3.1