remove unused code

This commit is contained in:
MaysWind
2021-01-05 23:10:23 +08:00
parent 14c2320267
commit 5820952edb
2 changed files with 1 additions and 8 deletions
-2
View File
@@ -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 {