mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Do some redirection.
This commit is contained in:
@@ -65,11 +65,13 @@ class HomeController extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function marauder()
|
public function marauder()
|
||||||
{
|
{
|
||||||
echo '<pre>';
|
$params = [];
|
||||||
print_r(Input::all());
|
foreach(Input::all() as $key => $value) {
|
||||||
echo '</pre>';
|
if($key == 'code' || $key == 'state') {
|
||||||
|
$params[$key] = $value;
|
||||||
return '';
|
}
|
||||||
|
}
|
||||||
|
return Redirect::to('http://marauder.app/oauth2callback?' . http_build_query($params));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user