From 10231a07a1ea47f6de56a468dd1daa2068ae50ae Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Fri, 16 Apr 2021 23:01:38 +0100 Subject: reinstate index.html, static is king --- gpigeon-template.cgi | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'gpigeon-template.cgi') diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi index 5470dfd..9f9dc4c 100755 --- a/gpigeon-template.cgi +++ b/gpigeon-template.cgi @@ -120,7 +120,6 @@ my %text_strings = ( delete_links_btn_text => 'Delete all links', logout_btn_text => 'Logout', here => 'here', - login => 'Login', link_asker_field_label => q{Asker's mail :}, link_web_title => 'One time GPG messaging form', link_del_ok => 'Successful removal !', @@ -131,7 +130,6 @@ my %text_strings = ( mailto_body => 'Your link is ', mailto_subject => 'Link to your one time GPG messaging form', notif_login_failure => 'Cannot login. Check if your username and password match.' - passwd_label => 'Password :', refresh_btn_text => 'Refresh', type_msg_below => 'Type your message below', theader_link => 'Link', @@ -322,25 +320,5 @@ if (ValidCookie($id_cookie, $cookies_dir) or argon2id_verify($argon2id_hash,$pw) }; } else{ - print "Content-Type: text/html\n\n", - qq{ - - - - - $text_strings{web_title} - - - -
-

GPIGEON

- -
- -
-

 Source code here. It is similar to hawkpost.co.

- - }; + print "Location: /\n\n"; } -- cgit v1.2.3-70-g09d2