added info template;split out result message to seperate page to avoid confusion;

This commit is contained in:
muppeth 2023-04-13 01:19:54 +02:00
parent 302c7a7107
commit eef76f4e86
Signed by: muppeth
GPG Key ID: 0EBC7B9848D04031
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ if(isset($_POST['email']) && isset($_POST['key'])) {
$result = requestPGP($_POST['email'], $_POST['key']);
if($result === true) {
get_page("home", array('message' => $lang['submit_success']));
get_page("info", array('message' => $lang['submit_success']));
} else {
get_page("home", array('message' => $result));
get_page("info", array('message' => $result));
}
} else {
get_page("home");