mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 20:50:06 +00:00
fix: member-created services shouldn't be applied to admin resources (#1113)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
type UserForm struct {
|
||||
Role uint8 `json:"role,omitempty"`
|
||||
Role Role `json:"role,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty" gorm:"type:char(72)"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user