Skip to content

Commit 65a2651

Browse files
fix bug related to isset($_POST['submit'])
1 parent c9c7470 commit 65a2651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
}
7171

7272
if($x == "fail") {
73-
unset($_POST['submit']);
73+
$_POST['submit'] = false;
7474
}
7575
}
7676

0 commit comments

Comments
 (0)