diff --git a/pool/page_reg.php b/pool/page_reg.php index f9c01d04..3728661d 100644 --- a/pool/page_reg.php +++ b/pool/page_reg.php @@ -34,8 +34,8 @@ Your miner password should be 'x' and must not use your login pass $pg .= '
'; $pg .= '

Login

'; - if (isset($data['data']['error'])) - $pg .= "
".$data['data']['error']." - please try again

"; + if (isset($data['data']['error']) && !isset($_POST['pass2'])) + $pg .= "
".$data['data']['error']." - please try again

"; $pg .= makeForm(''); $pg .= " @@ -55,8 +55,8 @@ Your miner password should be 'x' and must not use your login pass $pg.= '
'; $pg .= '

Register

'; - if (isset($data['data']['error'])) - $pg .= "
".$data['data']['error']." - please try again

"; + if (isset($data['data']['error']) && isset($_POST['pass2'])) + $pg .= "
".$data['data']['error']." - please try again

"; $pg .= makeForm(''); $pg .= "