|
@@ -10,31 +10,31 @@ |
|
|
block discarded – undo |
|
10
|
10
|
use App\Http\Controllers\Auth\VerifyEmailController; |
|
11
|
11
|
use Illuminate\Support\Facades\Route; |
|
12
|
12
|
|
|
13
|
|
-Route::middleware('guest:web')->group(function () { |
|
14
|
|
- Route::get('/register', [RegisteredUserController::class, 'create'])->name('register'); |
|
15
|
|
- Route::post('/register', [RegisteredUserController::class, 'store']); |
|
|
13
|
+Route::middleware('guest:web')->group(function() { |
|
|
14
|
+ Route::get('/register', [ RegisteredUserController::class, 'create' ])->name('register'); |
|
|
15
|
+ Route::post('/register', [ RegisteredUserController::class, 'store' ]); |
|
16
|
16
|
|
|
17
|
|
- Route::get('/login', [AuthenticatedSessionController::class, 'create'])->name('login'); |
|
18
|
|
- Route::post('/login', [AuthenticatedSessionController::class, 'store']); |
|
|
17
|
+ Route::get('/login', [ AuthenticatedSessionController::class, 'create' ])->name('login'); |
|
|
18
|
+ Route::post('/login', [ AuthenticatedSessionController::class, 'store' ]); |
|
19
|
19
|
|
|
20
|
|
- Route::get('/forgot-password', [PasswordResetLinkController::class, 'create'])->name('password.request'); |
|
21
|
|
- Route::post('/forgot-password', [PasswordResetLinkController::class, 'store'])->name('password.email'); |
|
|
20
|
+ Route::get('/forgot-password', [ PasswordResetLinkController::class, 'create' ])->name('password.request'); |
|
|
21
|
+ Route::post('/forgot-password', [ PasswordResetLinkController::class, 'store' ])->name('password.email'); |
|
22
|
22
|
|
|
23
|
|
- Route::get('/reset-password/{token}', [NewPasswordController::class, 'create'])->name('password.reset'); |
|
24
|
|
- Route::post('/reset-password', [NewPasswordController::class, 'store'])->name('password.update'); |
|
|
23
|
+ Route::get('/reset-password/{token}', [ NewPasswordController::class, 'create' ])->name('password.reset'); |
|
|
24
|
+ Route::post('/reset-password', [ NewPasswordController::class, 'store' ])->name('password.update'); |
|
25
|
25
|
}); |
|
26
|
26
|
|
|
27
|
|
-Route::middleware('auth_on_verifying:web', 'throttle:6,1')->group(function () { |
|
|
27
|
+Route::middleware('auth_on_verifying:web', 'throttle:6,1')->group(function() { |
|
28
|
28
|
Route::get('/verify-email/{id}/{hash}', VerifyEmailController::class)->middleware('signed')->name('verification.verify'); |
|
29
|
|
- Route::post('/email/verification-notification', [EmailVerificationNotificationController::class, 'store'])->name('verification.send'); |
|
|
29
|
+ Route::post('/email/verification-notification', [ EmailVerificationNotificationController::class, 'store' ])->name('verification.send'); |
|
30
|
30
|
}); |
|
31
|
31
|
|
|
32
|
|
-Route::middleware('auth:web')->group(function () { |
|
|
32
|
+Route::middleware('auth:web')->group(function() { |
|
33
|
33
|
Route::get('/verify-email', EmailVerificationPromptController::class)->name('verification.notice'); |
|
34
|
34
|
Route::view('/verify-email-success', 'auth.verify-email-success')->middleware('verified')->name('verification.success'); |
|
35
|
35
|
|
|
36
|
|
- Route::get('/confirm-password', [ConfirmablePasswordController::class, 'show'])->name('password.confirm'); |
|
37
|
|
- Route::post('/confirm-password', [ConfirmablePasswordController::class, 'store']); |
|
|
36
|
+ Route::get('/confirm-password', [ ConfirmablePasswordController::class, 'show' ])->name('password.confirm'); |
|
|
37
|
+ Route::post('/confirm-password', [ ConfirmablePasswordController::class, 'store' ]); |
|
38
|
38
|
|
|
39
|
|
- Route::post('/logout', [AuthenticatedSessionController::class, 'destroy'])->name('logout'); |
|
|
39
|
+ Route::post('/logout', [ AuthenticatedSessionController::class, 'destroy' ])->name('logout'); |
|
40
|
40
|
}); |