Add useful error message on failed login

This commit is contained in:
Daniel Winzen
2016-04-28 09:02:42 +02:00
parent 555208a556
commit a37026ca64
4 changed files with 9 additions and 4 deletions

View File

@ -2015,7 +2015,7 @@ function write_new_session(){
$reentry=true;
break;
}else{
send_error($I['wrongpass']);
send_error("$I[userloggedin]<br>$I[wrongpass]");
}
}
}
@ -2294,7 +2294,7 @@ function check_member(){
$stmt->execute(array($time, $U['nickname']));
return true;
}else{
send_error($I['wrongpass']);
send_error("$I[regednick]<br>$I[wrongpass]");
}
}
return false;