Add config to disable registration
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package dto
|
||||
|
||||
type AppInfo struct {
|
||||
RegistrationDisabled bool `json:"registrationDisabled"`
|
||||
}
|
||||
|
||||
type BookGet struct {
|
||||
Title string `json:"title" binding:"required,max=300"`
|
||||
Author string `json:"author" binding:"max=100"`
|
||||
|
||||
Reference in New Issue
Block a user