Skip to content

Commit 60c409d

Browse files
committed
Merge branch 'laravel-10' of github.com:jeremykenedy/laravel-auth into laravel-10
2 parents 4783f49 + c3da504 commit 60c409d

File tree

16 files changed

+61
-61
lines changed

16 files changed

+61
-61
lines changed

app/Exceptions/Handler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class Handler extends ExceptionHandler
5050
public function register(): void
5151
{
5252
$this->reportable(function (Throwable $e) {
53-
5453
$enableEmailExceptions = config('exceptions.emailExceptionEnabled');
5554

5655
if ($enableEmailExceptions === '') {

app/Http/Controllers/Auth/NewPasswordController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public function create(Request $request): View
3030
public function store(Request $request): RedirectResponse
3131
{
3232
$request->validate([
33-
'token' => ['required'],
34-
'email' => ['required', 'email'],
33+
'token' => ['required'],
34+
'email' => ['required', 'email'],
3535
'password' => ['required', 'confirmed', Rules\Password::defaults()],
3636
]);
3737

@@ -42,7 +42,7 @@ public function store(Request $request): RedirectResponse
4242
$request->only('email', 'password', 'password_confirmation', 'token'),
4343
function ($user) use ($request) {
4444
$user->forceFill([
45-
'password' => Hash::make($request->password),
45+
'password' => Hash::make($request->password),
4646
'remember_token' => Str::random(60),
4747
])->save();
4848

app/Http/Controllers/Auth/PasswordController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function update(Request $request): RedirectResponse
1717
{
1818
$validated = $request->validateWithBag('updatePassword', [
1919
'current_password' => ['required', 'current_password'],
20-
'password' => ['required', Password::defaults(), 'confirmed'],
20+
'password' => ['required', Password::defaults(), 'confirmed'],
2121
]);
2222

2323
$request->user()->update([

app/Http/Controllers/Auth/RegisteredUserController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ public function create(): View
3131
public function store(Request $request): RedirectResponse
3232
{
3333
$request->validate([
34-
'name' => ['required', 'string', 'max:255'],
35-
'email' => ['required', 'string', 'email', 'max:255', 'unique:'.User::class],
34+
'name' => ['required', 'string', 'max:255'],
35+
'email' => ['required', 'string', 'email', 'max:255', 'unique:'.User::class],
3636
'password' => ['required', 'confirmed', Rules\Password::defaults()],
3737
]);
3838

3939
$user = User::create([
40-
'name' => $request->name,
41-
'email' => $request->email,
40+
'name' => $request->name,
41+
'email' => $request->email,
4242
'password' => Hash::make($request->password),
4343
]);
4444

app/Http/Requests/Auth/LoginRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function authorize(): bool
2727
public function rules(): array
2828
{
2929
return [
30-
'email' => ['required', 'string', 'email'],
30+
'email' => ['required', 'string', 'email'],
3131
'password' => ['required', 'string'],
3232
];
3333
}

app/Providers/AuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\Providers;
44

5-
use Illuminate\Support\Facades\Gate;
65
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
6+
use Illuminate\Support\Facades\Gate;
77

88
class AuthServiceProvider extends ServiceProvider
99
{

app/Providers/EventServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class EventServiceProvider extends ServiceProvider
2626
'SocialiteProviders\\LinkedIn\\LinkedInExtendSocialite@handle',
2727
],
2828
];
29+
2930
/**
3031
* Register any events for your application.
3132
*/

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
use Collective\Html\FormFacade;
66
use Collective\Html\HtmlFacade;
77
use Creativeorange\Gravatar\Facades\Gravatar;
8-
use Laravel\Socialite\Facades\Socialite;
98
use Illuminate\Support\Facades\Facade;
109
use Illuminate\Support\Facades\Input;
1110
use Illuminate\Support\Facades\Redis;
1211
use Intervention\Image\Facades\Image;
1312
use jeremykenedy\Uuid\Uuid;
13+
use Laravel\Socialite\Facades\Socialite;
1414

1515
return [
1616

config/broadcasting.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
'connections' => [
3232

3333
'pusher' => [
34-
'driver' => 'pusher',
35-
'key' => env('PUSHER_APP_KEY'),
36-
'secret' => env('PUSHER_APP_SECRET'),
37-
'app_id' => env('PUSHER_APP_ID'),
34+
'driver' => 'pusher',
35+
'key' => env('PUSHER_APP_KEY'),
36+
'secret' => env('PUSHER_APP_SECRET'),
37+
'app_id' => env('PUSHER_APP_ID'),
3838
'options' => [
39-
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
40-
'port' => env('PUSHER_PORT', 443),
41-
'scheme' => env('PUSHER_SCHEME', 'https'),
39+
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
40+
'port' => env('PUSHER_PORT', 443),
41+
'scheme' => env('PUSHER_SCHEME', 'https'),
4242
'encrypted' => true,
43-
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
43+
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
4444
],
4545
'client_options' => [
4646
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html

config/logging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
'deprecations' => [
3434
'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
35-
'trace' => false,
35+
'trace' => false,
3636
],
3737

3838
/*

0 commit comments

Comments
 (0)