From fc573420edbc092704e0408281ec00a27c869985 Mon Sep 17 00:00:00 2001 From: Marc TEYSSIER Date: Wed, 15 Jul 2015 16:24:46 +0200 Subject: [PATCH] Fixing typos --- auth-server-auth-code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-server-auth-code.md b/auth-server-auth-code.md index f91959d7..759f409a 100755 --- a/auth-server-auth-code.md +++ b/auth-server-auth-code.md @@ -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 @@ -140,7 +140,7 @@ $router->get('/signin', function (Request $request) use ($server) { $error = new \League\OAuth2\Server\Util\AccessDeniedException; - $redirectUri = new \League\OAuth2\Server\Util\RedirectUri( + $redirectUri = \League\OAuth2\Server\Util\RedirectUri::make( $authParams['redirect_uri'], [ 'error' => $error->errorType,