summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/auth/SignupView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-25 05:40:54 -0500
committerJules Laplace <jules@okfoc.us>2015-11-25 05:40:54 -0500
commit0da322d7440850b854ce77e8755f97116584920e (patch)
tree3e1c41293c854f00e02143f0d4fecd3c5e355e03 /StoneIsland/www/js/lib/auth/SignupView.js
parent7784e0632e3048a1c8f7f0ac8b0e6c8178dbe939 (diff)
form finalize
Diffstat (limited to 'StoneIsland/www/js/lib/auth/SignupView.js')
-rw-r--r--StoneIsland/www/js/lib/auth/SignupView.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js
index 7f894c3c..7e6fc04d 100644
--- a/StoneIsland/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/www/js/lib/auth/SignupView.js
@@ -61,7 +61,9 @@ var SignupView = FormView.extend({
if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to use this service." ]) }
if (data.DataProfiling2 !== "true") { errors.push([ "DataProfiling2", "You must consent to use this service." ]) }
if (! data.YooxLetter) { data.YooxLetter = false }
-
+ },
+
+ finalize: function(data){
delete data.DataProfiling2
delete data.ConfirmEmail
@@ -69,6 +71,7 @@ var SignupView = FormView.extend({
this.last_data = data
console.log(data)
+ return data
},
privacy_link: function(){