Skip to content

Commit 0be88a1

Browse files
author
Luca Degasperi
committed
Merge branch 'master' of github.com:lucadegasperi/oauth2-server-laravel
2 parents 0a80685 + 0ab1a7b commit 0be88a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Route::get('/oauth/authorize', array('before' => 'check-authorization-params|aut
9999
Route::post('/oauth/authorize', array('before' => 'check-authorization-params|auth|csrf', function()
100100
{
101101
// get the data from the check-authorization-params filter
102-
$params = Session::get('authorize-params')
102+
$params = Session::get('authorize-params');
103103

104104
// get the user id
105105
$params['user_id'] = Auth::user()->id;
@@ -120,7 +120,7 @@ Route::post('/oauth/authorize', array('before' => 'check-authorization-params|au
120120

121121
return Redirect::to(AuthorizationServer::makeRedirectWithError($params));
122122
}
123-
});
123+
}));
124124
```
125125

126126
If the authorization process is successful the client will be redirected to its ```redirect_uri``` parameter with an authorization code in the query string like in the example below

0 commit comments

Comments
 (0)