edit-mailbox.php- if the user clicks on cancel, forward them to somewhere else, and not save stuff - see https://sourceforge.net/tracker/index.php?func=detail&aid=1888847&group_id=191583&atid=937964

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@304 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 17 years ago
parent 209ba99d00
commit a2c909b6e9

@ -85,6 +85,11 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
}
}
if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['cancel'])) {
header("Location: list-virtual.php?domain=$fDomain");
exit(0);
}
if ($_SERVER['REQUEST_METHOD'] == "POST")
{
if (isset ($_POST['fPassword'])) $fPassword = escape_string ($_POST['fPassword']);

Loading…
Cancel
Save