Plus some fixes
This commit is contained in:
Alireza Ahmadi
2023-07-16 17:20:19 +02:00
parent 8051a70ef2
commit d2e50d0493
4 changed files with 90 additions and 58 deletions

View File

@@ -96,7 +96,6 @@ func (a *InboundController) addInbound(c *gin.Context) {
}
user := session.GetLoginUser(c)
inbound.UserId = user.Id
inbound.Enable = true
inbound.Tag = fmt.Sprintf("inbound-%v", inbound.Port)
needRestart := false