Skip to content

Commit 0b4b1a3

Browse files
committed
Initial update
1 parent b60c672 commit 0b4b1a3

File tree

9 files changed

+804
-425
lines changed

9 files changed

+804
-425
lines changed

app/Console/Commands/Environment/AppSettingsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function handle()
132132
);
133133

134134
$selected = $this->config->get('queue.default', 'redis');
135-
$this->variables['QUEUE_DRIVER'] = $this->option('queue') ?? $this->choice(
135+
$this->variables['QUEUE_CONNECTION'] = $this->option('queue') ?? $this->choice(
136136
trans('command/messages.environment.app.queue_driver'),
137137
self::ALLOWED_QUEUE_DRIVERS,
138138
array_key_exists($selected, self::ALLOWED_QUEUE_DRIVERS) ? $selected : null

app/Http/Controllers/Auth/ForgotPasswordController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ protected function sendResetLinkFailedResponse(Request $request, $response): Red
2727
// exist on the system.
2828
event(new FailedPasswordReset($request->ip(), $request->input('email')));
2929

30-
return $this->sendResetLinkResponse(Password::RESET_LINK_SENT);
30+
return $this->sendResetLinkResponse($request, Password::RESET_LINK_SENT);
3131
}
3232
}

app/Http/Controllers/Auth/ResetPasswordController.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Pterodactyl\Http\Controllers\Auth;
44

5+
use Illuminate\Http\Request;
56
use Illuminate\Support\Str;
67
use Prologue\Alerts\AlertsMessageBag;
78
use Illuminate\Contracts\Hashing\Hasher;
@@ -109,10 +110,11 @@ protected function resetPassword($user, $password)
109110
/**
110111
* Get the response for a successful password reset.
111112
*
112-
* @param string $response
113+
* @param \Illuminate\Http\Request $request
114+
* @param string $response
113115
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\JsonResponse
114116
*/
115-
protected function sendResetResponse($response)
117+
protected function sendResetResponse(Request $request, $response)
116118
{
117119
if ($this->hasTwoFactor) {
118120
$this->alerts->success('Your password was successfully updated. Please log in to continue.')->flash();

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"hashids/hashids": "^2.0",
2525
"igaster/laravel-theme": "^2.0.6",
2626
"laracasts/utilities": "^3.0",
27-
"laravel/framework": "5.6.*",
27+
"laravel/framework": "5.7.*",
2828
"laravel/tinker": "^1.0",
2929
"lord/laroute": "^2.4",
3030
"matriphe/iso-639": "^1.2",
@@ -34,15 +34,15 @@
3434
"prologue/alerts": "^0.4",
3535
"ramsey/uuid": "^3.7",
3636
"s1lentium/iptools": "^1.1",
37-
"sofa/eloquence-base": "v5.6",
37+
"sofa/eloquence-base": "v5.6.2",
3838
"sofa/eloquence-validable": "v5.6",
39-
"spatie/laravel-fractal": "^5.3",
39+
"spatie/laravel-fractal": "^5.4",
4040
"webmozart/assert": "^1.2",
4141
"znck/belongs-to-through": "^2.3"
4242
},
4343
"require-dev": {
44-
"barryvdh/laravel-debugbar": "^3.1",
45-
"barryvdh/laravel-ide-helper": "^2.4",
44+
"barryvdh/laravel-debugbar": "^3.2",
45+
"barryvdh/laravel-ide-helper": "^2.5",
4646
"codedungeon/phpunit-result-printer": "^0.17.1",
4747
"filp/whoops": "^2.1",
4848
"friendsofphp/php-cs-fixer": "^2.11.1",

0 commit comments

Comments
 (0)