From 6dae1be9e256deb796e99fd2f235bcbd61ccb460 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Thu, 24 Jun 2021 11:55:16 +0100 Subject: Simplify link auto-deletion --- gpigeon-template.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'gpigeon-template.cgi') diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi index 529c589..b9ac7ad 100755 --- a/gpigeon-template.cgi +++ b/gpigeon-template.cgi @@ -221,6 +221,7 @@ if (ValidCookie($id_cookie, $cookies_dir) or argon2id_verify($argon2id_hash,$pw) open my $out, '>', $link_path or die "Can't write to link file: $!"; while( <$in> ) { s/{link_user}/{$link_asker}/g; + s/{link_filename}/{$generated_form_filename}/g; s/{link_web_title}/$text_strings{link_web_title}/g; s/{link_send_btn}/$text_strings{link_send_btn}/g; s/{type_msg_below}/$text_strings{type_msg_below}/g; -- cgit v1.2.3-70-g09d2