Skip to content

Commit

Permalink
add some routes to ensure has team whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilReinking committed Jan 20, 2024
1 parent f1e19f6 commit 3fe3108
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/Http/Middleware/EnsureHasTeam.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ protected function handleWeb(Request $request, Closure $next): Response
'teams.store',
'team-invitations.accept',
'logout',

'sanctum.csrf-cookie',

'verification.notice',
'verification.send',
'verification.verify',

'password.email',
'password.request',
'password.reset',
'password.update',
];

// whitelist some routes
Expand Down

0 comments on commit 3fe3108

Please sign in to comment.