Skip to content

Commit

Permalink
require terms of service to be selected (#6729)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhizor authored Oct 4, 2021
1 parent 2e5fbba commit e7fe036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SignupPageValidationSchema = yup.object().shape({
password: yup.string().required("form.empty.error"),
name: yup.string().required("form.empty.error"),
company: yup.string().required("form.empty.error"),
security: yup.boolean().required("form.empty.error"),
security: yup.boolean().oneOf([true], "form.empty.error"),
});

const SignupPage: React.FC = () => {
Expand Down

0 comments on commit e7fe036

Please sign in to comment.