Skip to content

Commit 7f33444

Browse files
fix: add missing route name to /user/two-factor-recovery-codes (#602)
* fix: add missing route name to `/user/two-factor-recovery-codes` * Update routes.php * Update routes.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 6ce87e8 commit 7f33444

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routes/routes.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
->name('two-factor.recovery-codes');
169169

170170
Route::post(RoutePath::for('two-factor.recovery-codes', '/user/two-factor-recovery-codes'), [RecoveryCodeController::class, 'store'])
171-
->middleware($twoFactorMiddleware);
171+
->middleware($twoFactorMiddleware)
172+
->name('two-factor.regenerate-recovery-codes');
172173
}
173174
});

0 commit comments

Comments
 (0)