Skip to content

Commit 75af8c7

Browse files
committed
2fa: protect all user routes
1 parent ee591e1 commit 75af8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
});
5555

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

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

0 commit comments

Comments
 (0)