mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
remove unused code
This commit is contained in:
@@ -151,8 +151,6 @@ func startWebServer(c *cli.Context) error {
|
||||
|
||||
if config.EnableUserRegister {
|
||||
apiRoute.POST("/register.json", bindApi(api.Users.UserRegisterHandler))
|
||||
} else {
|
||||
apiRoute.POST("/register.json", bindApi(api.Users.UserRegistrationNotAllowed))
|
||||
}
|
||||
|
||||
if config.EnableDataExport {
|
||||
|
||||
Reference in New Issue
Block a user