Fix return code

This commit is contained in:
Martin Bastien 2015-01-26 11:30:02 -05:00
parent a157b203ad
commit baf15236e9

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 // 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' 'Location' => '/signin'
]); ]);
@ -195,4 +195,4 @@ $router->post('/access_token', function (Request $request) use ($server) {
### Notes ### 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