WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit ad610a8

Browse files
authored
Remove email verification routes
1 parent e83070b commit ad610a8

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/resources/routes/web.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -78,28 +78,3 @@ function () {
7878
Route::get('/address/store', 'AddressController@store')->name('localisation.address.store');
7979
}
8080
);
81-
82-
Route::get(
83-
'/email/verify',
84-
function () {
85-
return view('auth.verify-email');
86-
}
87-
)->middleware('auth')->name('verification.notice');
88-
89-
Route::get(
90-
'/email/verify/{id}/{hash}',
91-
function (EmailVerificationRequest $request) {
92-
$request->fulfill();
93-
94-
return redirect('/home');
95-
}
96-
)->middleware(['auth', 'signed'])->name('verification.verify');
97-
98-
Route::post(
99-
'/email/verification-notification',
100-
function (Request $request) {
101-
$request->user()->sendEmailVerificationNotification();
102-
103-
return back()->with('message', 'Verification link sent!');
104-
}
105-
)->middleware(['auth', 'throttle:6,1'])->name('verification.send');

0 commit comments

Comments
 (0)