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:
Diffstat (limited to 'database/model/model.go')
-rw-r--r--database/model/model.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/database/model/model.go b/database/model/model.go
index 7a20de16..2e7095d3 100644
--- a/database/model/model.go
+++ b/database/model/model.go
@@ -21,10 +21,9 @@ const (
)
type User struct {
- Id int `json:"id" gorm:"primaryKey;autoIncrement"`
- Username string `json:"username"`
- Password string `json:"password"`
- LoginSecret string `json:"loginSecret"`
+ Id int `json:"id" gorm:"primaryKey;autoIncrement"`
+ Username string `json:"username"`
+ Password string `json:"password"`
}
type Inbound struct {