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; } }