From baf15236e9cd2966ff5789e89ad776e4854c961e Mon Sep 17 00:00:00 2001 From: Martin Bastien Date: Mon, 26 Jan 2015 11:30:02 -0500 Subject: [PATCH] Fix return code --- 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 438ae0f9..f91959d7 100755 --- a/auth-server-auth-code.md +++ b/auth-server-auth-code.md @@ -57,7 +57,7 @@ $router->get('/oauth', function (Request $request) use ($server) { // Everything is okay, save $authParams to the a session and redirect the user to sign-in - return = new Response('', 302, [ + return new Response('', 302, [ 'Location' => '/signin' ]); @@ -195,4 +195,4 @@ $router->post('/access_token', function (Request $request) use ($server) { ### Notes -* You could combine the sign-in form and authorize form into one form \ No newline at end of file +* You could combine the sign-in form and authorize form into one form