diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-10-03 05:29:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-10-03 05:29:35 +0200 |
| commit | 21b41e6c7cbde9d60e8e99dfce8331c218068052 (patch) | |
| tree | 4cc513245f2e0b822c9083b2d2e30556894d3709 /StoneIsland/www/js | |
| parent | 58eb0a78f6c0e717278a2ac2e00ef2afa2cbea2b (diff) | |
buildl
Diffstat (limited to 'StoneIsland/www/js')
| -rwxr-xr-x | StoneIsland/www/js/lib/auth/SignupView.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js index 917644d2..ef7dd6aa 100755 --- a/StoneIsland/www/js/lib/auth/SignupView.js +++ b/StoneIsland/www/js/lib/auth/SignupView.js @@ -53,7 +53,7 @@ var SignupView = FormView.extend({ "Password": "Please enter your password.", "Password2": "Please enter your password again.", "DataProfiling": "You must consent to data profiling to use the Stone Island app.", - "AccountTerms": "You must agree to the Your My Account terms.", + "GdprTerms": "You must agree to the Your My Account terms.", }, validate_fields: function(data, errors){ @@ -64,7 +64,7 @@ var SignupView = FormView.extend({ if (data.Email.toLowerCase() !== data.ConfirmEmail.toLowerCase()) { errors.push([ "ConfirmEmail", "Email addresses don't match." ]) } // if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) } if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to data profiling to use the Stone Island app." ]) } - if (data.AccountTerms !== "true") { errors.push([ "AccountTerms", "You must agree to the Your My Account terms to use the Stone Island app." ]) } + if (data.GdprTerms !== "true") { errors.push([ "GdprTerms", "You must agree to the Your My Account terms to use the Stone Island app." ]) } var now = new Date () var year = now.getFullYear() |
