mirror of
https://github.com/v2board/v2board.git
synced 2025-06-27 04:39:56 +08:00
update
This commit is contained in:
@ -20,7 +20,7 @@ class Server
|
||||
if (empty($token)) {
|
||||
abort(500, 'token is null');
|
||||
}
|
||||
if ($token !== config('v2panel.server_token')) {
|
||||
if ($token !== config('v2board.server_token')) {
|
||||
abort(500, 'token is error');
|
||||
}
|
||||
return $next($request);
|
||||
|
Reference in New Issue
Block a user