Skip to content

Commit

Permalink
Merge pull request #7877 from atm-alexis/fix_print_password_is_clear_…
Browse files Browse the repository at this point in the history
…after_login

fix print password is visible into link after login
  • Loading branch information
eldy committed Nov 28, 2017
2 parents ef786f2 + e6f7fe4 commit 222c53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/main.inc.php
Expand Up @@ -1488,7 +1488,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
if (is_array($_POST))
{
foreach($_POST as $key=>$value) {
if ($key!=='action' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value);
if ($key!=='action' && $key!=='password' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value);
}
}
$qs.=(($qs && $morequerystring)?'&':'').$morequerystring;
Expand Down

0 comments on commit 222c53a

Please sign in to comment.