Skip to content

Commit

Permalink
Remove 'Change admin password' from Checlist page (#323)
Browse files Browse the repository at this point in the history
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
  • Loading branch information
xh3n1 authored and michield committed May 24, 2018
1 parent 3d600c7 commit fd521c6
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions public_html/lists/admin/setup.php
Expand Up @@ -32,20 +32,6 @@
$html .= '</td></tr>';
}

$link = PageLink2('admin&amp;id=1', s('Change admin password'));
if (!empty($link)) {
$html .= '<tr><td>' .$link.'</td><td>';
$curpwd = Sql_Fetch_Row_Query("select password from {$tables['admin']} where loginname = \"admin\"");
if ($curpwd[0] != 'phplist' && $curpwd[0] != encryptPass('phplist')) {
$html .= $GLOBALS['img_tick'];
} else {
$alldone = 0;
$html .= $GLOBALS['img_cross'];
}

$html .= '</td></tr>';
}

$link = PageLink2('configure', s('Verify Settings'));
if (!empty($link)) {
$html .= '<tr><td>' .$link.'</td><td>';
Expand Down

0 comments on commit fd521c6

Please sign in to comment.