diff --git a/api/v1/auth.go b/api/v1/auth.go index bae0b7fd6..ee132656b 100644 --- a/api/v1/auth.go +++ b/api/v1/auth.go @@ -64,9 +64,6 @@ func (s *APIV1Service) SignIn(c echo.Context) error { if err != nil { return echo.NewHTTPError(http.StatusInternalServerError, "Failed to find system setting").SetInternal(err) } - if workspaceGeneralSetting.DisallowSignup { - return echo.NewHTTPError(http.StatusUnauthorized, "signup is disabled").SetInternal(err) - } if workspaceGeneralSetting.DisallowPasswordLogin { return echo.NewHTTPError(http.StatusUnauthorized, "password login is deactivated").SetInternal(err) }