This commit is contained in:
NaggaDIM
2025-01-02 00:05:09 +03:00
parent 2d071320a3
commit 277a5d5a31
16 changed files with 297 additions and 397 deletions

View File

@@ -22,30 +22,30 @@ Route::middleware('guest')->group(function () {
Route::post('login', [AuthenticatedSessionController::class, 'store']);
Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])
->name('password.request');
Route::post('forgot-password', [PasswordResetLinkController::class, 'store'])
->name('password.email');
Route::get('reset-password/{token}', [NewPasswordController::class, 'create'])
->name('password.reset');
Route::post('reset-password', [NewPasswordController::class, 'store'])
->name('password.store');
// Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])
// ->name('password.request');
//
// Route::post('forgot-password', [PasswordResetLinkController::class, 'store'])
// ->name('password.email');
//
// Route::get('reset-password/{token}', [NewPasswordController::class, 'create'])
// ->name('password.reset');
//
// Route::post('reset-password', [NewPasswordController::class, 'store'])
// ->name('password.store');
});
Route::middleware('auth')->group(function () {
Route::get('verify-email', EmailVerificationPromptController::class)
->name('verification.notice');
Route::get('verify-email/{id}/{hash}', VerifyEmailController::class)
->middleware(['signed', 'throttle:6,1'])
->name('verification.verify');
Route::post('email/verification-notification', [EmailVerificationNotificationController::class, 'store'])
->middleware('throttle:6,1')
->name('verification.send');
// Route::get('verify-email', EmailVerificationPromptController::class)
// ->name('verification.notice');
//
// Route::get('verify-email/{id}/{hash}', VerifyEmailController::class)
// ->middleware(['signed', 'throttle:6,1'])
// ->name('verification.verify');
//
// Route::post('email/verification-notification', [EmailVerificationNotificationController::class, 'store'])
// ->middleware('throttle:6,1')
// ->name('verification.send');
Route::get('confirm-password', [ConfirmablePasswordController::class, 'show'])
->name('password.confirm');