Add login and auth

This commit is contained in:
MaxJa4 committed 2024-01-16 22:15:26 +01:00
1 parent f92e22f142
commit 0fd45ea2bd
7 files changed
+206 -46

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
package models
type User struct {
Username string `json:"username" gorm:"primary_key"`
Password string `json:"password"`
Enabled bool `json:"enabled" default:"1"`
}