summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/auth/SignupView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-07-24 18:19:50 +0200
committerJules Laplace <julescarbon@gmail.com>2018-07-24 18:19:50 +0200
commitb6774fedca6a535e9f863d4bb72d87f46c47a59b (patch)
treeba17a94ea0476e35bd85e5354254f39c547c3816 /StoneIsland/www/js/lib/auth/SignupView.js
parentec92c9432cf452badb6cca2c41e41d0546006692 (diff)
consent to modal on signup..
Diffstat (limited to 'StoneIsland/www/js/lib/auth/SignupView.js')
-rwxr-xr-xStoneIsland/www/js/lib/auth/SignupView.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js
index 3612abe7..078f7c07 100755
--- a/StoneIsland/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/www/js/lib/auth/SignupView.js
@@ -107,6 +107,7 @@ var SignupView = FormView.extend({
auth.user.Surname = this.last_data.Surname
auth.user.Email = this.last_data.Email
auth.user.BirthDay = this.last_data.BirthDay
+ localStorage.setItem('account_terms.consent', 'true')
app.account.logged_in(function(){ app.router.go("store") })
},