remove id= from redirect : we use current logged user (#37217)

This commit is contained in:
Eric - CAP-REL 2026-02-17 20:46:15 +01:00 committed by GitHub
parent 2aa45a3897
commit 043e1520a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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