Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Remove email verification routes
Browse files Browse the repository at this point in the history
  • Loading branch information
rabrowne85 authored May 28, 2021
1 parent e83070b commit ad610a8
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/resources/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,3 @@ function () {
Route::get('/address/store', 'AddressController@store')->name('localisation.address.store');
}
);

Route::get(
'/email/verify',
function () {
return view('auth.verify-email');
}
)->middleware('auth')->name('verification.notice');

Route::get(
'/email/verify/{id}/{hash}',
function (EmailVerificationRequest $request) {
$request->fulfill();

return redirect('/home');
}
)->middleware(['auth', 'signed'])->name('verification.verify');

Route::post(
'/email/verification-notification',
function (Request $request) {
$request->user()->sendEmailVerificationNotification();

return back()->with('message', 'Verification link sent!');
}
)->middleware(['auth', 'throttle:6,1'])->name('verification.send');

0 comments on commit ad610a8

Please sign in to comment.