Skip to content

Commit

Permalink
fix: route caching
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 19, 2024
1 parent c74e2d0 commit 09a879d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

Route::middleware('guest')->group(function () {
Route::get('register', [RegisteredUserController::class, 'create'])->name('register');
Route::post('register', [RegisteredUserController::class, 'store'])->name('register')->middleware('throttle:register');
Route::post('register', [RegisteredUserController::class, 'store'])->middleware('throttle:register');

Route::get('login', [AuthenticatedSessionController::class, 'create'])->name('login');
Route::post('login', [AuthenticatedSessionController::class, 'store'])->name('login')->middleware('throttle:login');
Route::post('login', [AuthenticatedSessionController::class, 'store'])->middleware('throttle:login');

Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])->name('password.request');
Route::post('forgot-password', [PasswordResetLinkController::class, 'store'])->name('password.email')->middleware('throttle:forgot-password');
Expand Down

0 comments on commit 09a879d

Please sign in to comment.