mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
Fixing typos
This commit is contained in:
parent
a99c195892
commit
fc573420ed
@ -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
|
||||||
@ -140,7 +140,7 @@ $router->get('/signin', function (Request $request) use ($server) {
|
|||||||
|
|
||||||
$error = new \League\OAuth2\Server\Util\AccessDeniedException;
|
$error = new \League\OAuth2\Server\Util\AccessDeniedException;
|
||||||
|
|
||||||
$redirectUri = new \League\OAuth2\Server\Util\RedirectUri(
|
$redirectUri = \League\OAuth2\Server\Util\RedirectUri::make(
|
||||||
$authParams['redirect_uri'],
|
$authParams['redirect_uri'],
|
||||||
[
|
[
|
||||||
'error' => $error->errorType,
|
'error' => $error->errorType,
|
||||||
|
Loading…
Reference in New Issue
Block a user