diff --git a/lib/validate.js b/lib/validate.js index 858e4f85..1baa31c9 100644 --- a/lib/validate.js +++ b/lib/validate.js @@ -531,7 +531,7 @@ export const settingsSchema = object({ diagnostics: boolean(), noReferralLinks: boolean(), hideIsContributor: boolean(), - zapUndos: intValidator.required('required').min(0, 'must be greater or equal to 0') + zapUndos: intValidator.nullable().min(0, 'must be greater or equal to 0') }) const warningMessage = 'If I logout, even accidentally, I will never be able to access my account again'