Merge pull request #304 from yuters/patch-1

Fix return code
This commit is contained in:
Alex Bilbie 2015-01-26 16:30:53 +00:00
commit c4ed89e411

View File

@ -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
* You could combine the sign-in form and authorize form into one form