Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Inertia\Inertia;
use Inertia\Response;

final readonly class UserEmailResetNotification
final readonly class UserEmailResetNotificationController
{
public function create(Request $request): Response
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Illuminate\Foundation\Auth\EmailVerificationRequest;
use Illuminate\Http\RedirectResponse;

final readonly class UserEmailVerification
final readonly class UserEmailVerificationController
{
public function update(EmailVerificationRequest $request, #[CurrentUser] User $user): RedirectResponse
{
Expand Down
10 changes: 5 additions & 5 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use App\Http\Controllers\SessionController;
use App\Http\Controllers\UserController;
use App\Http\Controllers\UserEmailResetNotification;
use App\Http\Controllers\UserEmailVerification;
use App\Http\Controllers\UserEmailResetNotificationController;
use App\Http\Controllers\UserEmailVerificationController;
use App\Http\Controllers\UserEmailVerificationNotificationController;
use App\Http\Controllers\UserPasswordController;
use App\Http\Controllers\UserProfileController;
Expand Down Expand Up @@ -56,9 +56,9 @@
->name('password.store');

// User Email Reset Notification...
Route::get('forgot-password', [UserEmailResetNotification::class, 'create'])
Route::get('forgot-password', [UserEmailResetNotificationController::class, 'create'])
->name('password.request');
Route::post('forgot-password', [UserEmailResetNotification::class, 'store'])
Route::post('forgot-password', [UserEmailResetNotificationController::class, 'store'])
->name('password.email');

// Session...
Expand All @@ -77,7 +77,7 @@
->name('verification.send');

// User Email Verification...
Route::get('verify-email/{id}/{hash}', [UserEmailVerification::class, 'update'])
Route::get('verify-email/{id}/{hash}', [UserEmailVerificationController::class, 'update'])
->middleware(['signed', 'throttle:6,1'])
->name('verification.verify');

Expand Down