mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Should be a POST route, I believe
This commit is contained in:
parent
bbad08607b
commit
7cf10988c9
@ -117,7 +117,7 @@ View:
|
|||||||
Route:
|
Route:
|
||||||
|
|
||||||
~~~ php
|
~~~ php
|
||||||
$router->get('/signin', function (Request $request) use ($server) {
|
$router->post('/signin', function (Request $request) use ($server) {
|
||||||
|
|
||||||
if (!isset($_POST['authorization'])) {
|
if (!isset($_POST['authorization'])) {
|
||||||
// show form
|
// show form
|
||||||
|
Loading…
Reference in New Issue
Block a user