diff --git a/cmd/subscribers.go b/cmd/subscribers.go index 57780831f..369190432 100644 --- a/cmd/subscribers.go +++ b/cmd/subscribers.go @@ -336,7 +336,7 @@ func handleUpdateSubscriber(c echo.Context) error { req.Email = em } - if req.Name != "" && !strHasLen(req.Name, 1, stdInputMaxLen) { + if !strHasLen(req.Name, 0, stdInputMaxLen) { return echo.NewHTTPError(http.StatusBadRequest, app.i18n.T("subscribers.invalidName")) }