Skip to content

Commit

Permalink
2fa: protect all user routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpslwk committed May 21, 2019
1 parent ee591e1 commit 75af8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
});

// Routes in the following group can only be access once logged-in
Route::middleware(['auth'])->group(function () {
Route::middleware(['auth', '2fa'])->group(function () {
Route::view('registration-complete', 'pages.registrationComplete')->name('registrationComplete');

// Users (show, edit, update) to allow users to update there email if they can't verify it
Expand Down

0 comments on commit 75af8c7

Please sign in to comment.