From 1b1c0ff9e45a28a34b75414f04e1873a845b597d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 5 Jul 2021 12:19:11 +0200 Subject: [PATCH] :bug: Fix incorrect terms check validation on register page. --- frontend/src/app/main/ui/auth/register.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/auth/register.cljs b/frontend/src/app/main/ui/auth/register.cljs index 97ea2a948..fcc619c11 100644 --- a/frontend/src/app/main/ui/auth/register.cljs +++ b/frontend/src/app/main/ui/auth/register.cljs @@ -178,7 +178,7 @@ :else (st/emit! (rt/nav :auth-register-success {} {:email (:email data)})))) -(s/def ::accept-terms-and-privacy ::us/boolean) +(s/def ::accept-terms-and-privacy (s/and ::us/boolean true?)) (s/def ::accept-newsletter-subscription ::us/boolean) (s/def ::register-validate-form