Should be a POST route, I believe

This commit is contained in:
Kayla Daniels 2015-06-10 17:39:12 -04:00
parent bbad08607b
commit 7cf10988c9

View File

@ -117,7 +117,7 @@ View:
Route:
~~~ php
$router->get('/signin', function (Request $request) use ($server) {
$router->post('/signin', function (Request $request) use ($server) {
if (!isset($_POST['authorization'])) {
// show form