From 043e1520a61d2c2e5dee1bebf901f7c5edd73ae6 Mon Sep 17 00:00:00 2001 From: Eric - CAP-REL <1468823+rycks@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:46:15 +0100 Subject: [PATCH] remove id= from redirect : we use current logged user (#37217) --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 8cc625d6050..0c62ff62f64 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1116,7 +1116,7 @@ if (!defined('NOLOGIN')) { } } if (!$isallowed) { - header('Location: '.DOL_URL_ROOT.'/user/changepassword.php?id='.$user->id); + header('Location: '.DOL_URL_ROOT.'/user/changepassword.php'); exit; } }