mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 00:28:00 +01:00
Shift Input to Request facade
Laravel 5.2 no longer registers the `Input` facade by default. While still available in Laravel 5, the `Input` facade is removed in Laravel 6.
This commit is contained in:
parent
840d4ce093
commit
0c9447a817
1 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ use App\Models\User;
|
||||||
use Auth;
|
use Auth;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use DB;
|
use DB;
|
||||||
use Illuminate\Support\Facades\Input;
|
|
||||||
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
||||||
use League\OAuth2\Client\Token\AccessToken;
|
use League\OAuth2\Client\Token\AccessToken;
|
||||||
use Log;
|
use Log;
|
||||||
|
@ -132,8 +132,8 @@ class AuthController extends Controller
|
||||||
*/
|
*/
|
||||||
public function postPoniverseAccountSync()
|
public function postPoniverseAccountSync()
|
||||||
{
|
{
|
||||||
$poniverseId = Input::get('id');
|
$poniverseId = Request::get('id');
|
||||||
$updatedAttribute = Input::get('attribute');
|
$updatedAttribute = Request::get('attribute');
|
||||||
|
|
||||||
// Only email address updates are supported at this time.
|
// Only email address updates are supported at this time.
|
||||||
if ('email' !== $updatedAttribute) {
|
if ('email' !== $updatedAttribute) {
|
||||||
|
|
Loading…
Reference in a new issue