Skip to content

Commit 3fe3108

Browse files
committed
add some routes to ensure has team whitelist
1 parent f1e19f6 commit 3fe3108

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/Http/Middleware/EnsureHasTeam.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ protected function handleWeb(Request $request, Closure $next): Response
6969
'teams.store',
7070
'team-invitations.accept',
7171
'logout',
72+
73+
'sanctum.csrf-cookie',
74+
75+
'verification.notice',
76+
'verification.send',
77+
'verification.verify',
78+
79+
'password.email',
80+
'password.request',
81+
'password.reset',
82+
'password.update',
7283
];
7384

7485
// whitelist some routes

0 commit comments

Comments
 (0)