Skip to content

Commit e906ff9

Browse files
committed
fix : permission error
1 parent 26ac9b1 commit e906ff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Middleware/CheckRole.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function handle($request, Closure $next, $role)
2323
throw new UnauthorizedHttpException('jwt-auth', '登录失效');
2424
}
2525
if (!$role) {
26+
$this->saveSystemLogs($request);
2627
$next($request);
2728
}
2829
$roles = explode('|', $role);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy