From 31b869b69fb39f75c1d57a572c9f6c2df85227d4 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Fri, 15 Dec 2017 23:59:53 +0100 Subject: [PATCH] Add redirect for account update --- htdocs/compte.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compte.php b/htdocs/compte.php index e75bd22..5c3a68a 100644 --- a/htdocs/compte.php +++ b/htdocs/compte.php @@ -32,7 +32,7 @@ if (!empty($_POST['cn'])) { if (!empty($_GET['account'])) { print "
Modification en cours...
"; $account->update($cn,$password,$actif,$admin,$actif,$courier,$authsmtp); - print "
Modification effectué.
"; + header('Location: compte.php?domain='.$domain->getName().'&account='.$account->getUid()); } else { print "
Ajout en cours...
"; $domain->addAccount($uid,$cn,$password,$actif,$admin,$actif,$courier,$authsmtp); @@ -220,7 +220,7 @@ if (isset($_GET['account'])) {
-
+