[WIP] Add some test in CI to check that the code is clean #86
|
@ -12,7 +12,7 @@
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST)) {
|
if ($_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST)) {
|
||||||
$input_username = $_POST['login'];
|
$input_username = $_POST['login'];
|
||||||
$input_password = $_POST['passw'];
|
$input_password = $_POST['passw'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue