remove id= from redirect : we use current logged user (#37217)
This commit is contained in:
parent
2aa45a3897
commit
043e1520a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue