Skip to content

Commit

Permalink
Fixed Bug IP Rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
xpanel-cp committed Jul 14, 2024
1 parent f757ce6 commit ce7ab56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Web Panel/app/app/Http/Controllers/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ public function restore_backup(Request $request,$name)
$protocol=$user['protocol_sb'];
$detail_sb=$user['detail_sb'];
$name=$user['name'];
$multiuser=$user['multiuser'];
$check_user = Singbox::where('port_sb',$port)->count();
if ($check_user > 0) {
$jsonData = json_decode($detail_sb, true);
Expand All @@ -488,7 +489,8 @@ public function restore_backup(Request $request,$name)
'protocol'=>$protocol,
'sid'=>$sid,
'uuid'=>$uuid,
'name'=>$name
'name'=>$name,
'multiuser'=>$multiuser,
];

ProController::active_singbox($validatedData);
Expand Down

0 comments on commit ce7ab56

Please sign in to comment.