summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_camanager.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-06-03 08:40:45 -0400
committerjim-p <jimp@pfsense.org>2011-06-03 09:03:11 -0400
commit2f51259b4132ae163f0b99b7c623cb43c6ac31d8 (patch)
tree77c6c1f4c028fc4d86853ad1e2eb0fcff1dd86ea /usr/local/www/system_camanager.php
parent327d958a5db136c51e28992201bf4100980869de (diff)
downloadpfsense-2f51259b4132ae163f0b99b7c623cb43c6ac31d8.zip
pfsense-2f51259b4132ae163f0b99b7c623cb43c6ac31d8.tar.gz
Redirect back to the CA/Cert management page after delete so a person can't refresh and accidentally delete other CA/Certs. (CRLs are deleted differently and don't need this fix)
Diffstat (limited to 'usr/local/www/system_camanager.php')
-rw-r--r--usr/local/www/system_camanager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php
index e1b83f2..5541f83 100644
--- a/usr/local/www/system_camanager.php
+++ b/usr/local/www/system_camanager.php
@@ -92,6 +92,8 @@ if ($act == "del") {
unset($a_ca[$id]);
write_config();
$savemsg = sprintf(gettext("Certificate Authority %s and its CRLs (if any) successfully deleted"), $name) . "<br/>";
+ pfSenseHeader("system_camanager.php");
+ exit;
}
if ($act == "edit") {
OpenPOWER on IntegriCloud