We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba9214b commit c2f23a2Copy full SHA for c2f23a2
modules/structs/admin_user.go
@@ -32,7 +32,7 @@ type EditUserOption struct {
32
FullName *string `json:"full_name" binding:"MaxSize(100)"`
33
Password string `json:"password" binding:"MaxSize(255)"`
34
MustChangePassword *bool `json:"must_change_password"`
35
- Website *string `json:"website" binding:"ValidUrl;MaxSize(255)"`
+ Website *string `json:"website" binding:"OmitEmpty;ValidUrl;MaxSize(255)"`
36
Location *string `json:"location" binding:"MaxSize(50)"`
37
Description *string `json:"description" binding:"MaxSize(255)"`
38
Active *bool `json:"active"`
0 commit comments