mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
Fix alterid
This commit is contained in:
parent
e030ed8d80
commit
2b5ef08fe0
@ -45,12 +45,11 @@ class PoseidonController extends Controller
|
||||
$user->v2ray_user = [
|
||||
"uuid" => $user->uuid,
|
||||
"email" => sprintf("%s@v2board.user", $user->uuid),
|
||||
"alter_id" => $user->v2ray_alter_id,
|
||||
"level" => $user->v2ray_level,
|
||||
"alter_id" => $server->alter_id,
|
||||
"level" => 0,
|
||||
];
|
||||
unset($user['uuid']);
|
||||
unset($user['v2ray_alter_id']);
|
||||
unset($user['v2ray_level']);
|
||||
unset($user['email']);
|
||||
array_push($result, $user);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user