0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 Fix incorrect terms check validation on register page.

This commit is contained in:
Andrey Antukh 2021-07-05 12:19:11 +02:00
parent 083696a899
commit 1b1c0ff9e4

View file

@ -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