mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Merge pull request #779 from sijad/uri-fix
Correct redirect uri in OAuth2 Controller
This commit is contained in:
commit
9324af12ea
|
@ -38,7 +38,7 @@ abstract class AbstractOAuth2Controller implements ControllerInterface
|
|||
*/
|
||||
public function handle(Request $request)
|
||||
{
|
||||
$redirectUri = (string) $request->getUri()->withQuery('');
|
||||
$redirectUri = (string) $request->getAttribute('originalUri', $request->getUri())->withQuery('');
|
||||
|
||||
$provider = $this->getProvider($redirectUri);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user