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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-21 18:30:14 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-21 18:30:14 +0300
commitb0f974a94db8508c7c77db18c89cd0ef3497f879 (patch)
tree74bc894455da45eab58a051a81b1ae320ea09254 /database/model
parent6bebde410529c068b2458ee21a03127728a8c6ae (diff)
secret token thanks to @HarlyquinForest
Diffstat (limited to 'database/model')
-rw-r--r--database/model/model.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/database/model/model.go b/database/model/model.go
index 778ad9b6..d1498b06 100644
--- a/database/model/model.go
+++ b/database/model/model.go
@@ -18,9 +18,10 @@ const (
)
type User struct {
- Id int `json:"id" gorm:"primaryKey;autoIncrement"`
- Username string `json:"username"`
- Password string `json:"password"`
+ Id int `json:"id" gorm:"primaryKey;autoIncrement"`
+ Username string `json:"username"`
+ Password string `json:"password"`
+ LoginSecret string `json:"loginSecret"`
}
type Inbound struct {