Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColumbiysky <c.7843543@gmail.com>2025-05-03 12:27:53 +0300
committerGitHub <noreply@github.com>2025-05-03 12:27:53 +0300
commit85cbad3ef420ffdd7fec8657d247fdfe5e03903d (patch)
tree56036fc74abb46dd5de231bd8eeeeea50e6fcf0c /database/model
parent3d54e330514293e9385258da773be1a0e927a7f5 (diff)
feat: hashing user passwords
solves problems #2944, #2783
Diffstat (limited to 'database/model')
-rw-r--r--database/model/model.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/database/model/model.go b/database/model/model.go
index e9d1836f..7a20de16 100644
--- a/database/model/model.go
+++ b/database/model/model.go
@@ -63,6 +63,11 @@ type InboundClientIps struct {
Ips string `json:"ips" form:"ips"`
}
+type HistoryOfSeeders struct {
+ Id int `json:"id" gorm:"primaryKey;autoIncrement"`
+ SeederName string `json:"seederName"`
+}
+
func (i *Inbound) GenXrayInboundConfig() *xray.InboundConfig {
listen := i.Listen
if listen != "" {