+1
-1
@@ -142,7 +142,7 @@ Route::middleware(['auth', 'verified', 'can:manage-portal'])->prefix('management
|
||||
|
||||
// Serialize management requests for the same session so background dropdown/coordinate
|
||||
// reads cannot overwrite validation feedback from a concurrent form submission.
|
||||
foreach (Route::getRoutes() as $managementRoute) {
|
||||
foreach (Route::getRoutes()->getRoutes() as $managementRoute) {
|
||||
if (str_starts_with($managementRoute->uri(), 'management/')) {
|
||||
$managementRoute->block(10, 10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user