summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/auth/SignupView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-23 01:45:53 -0500
committerJules Laplace <jules@okfoc.us>2015-11-23 01:45:53 -0500
commit7d9950316368d825510588ded16e5194b4840931 (patch)
tree294fa8647e451eae0d741cfeb88d2173b20fd940 /StoneIsland/www/js/lib/auth/SignupView.js
parent6b37f28e2dba8f191ff5df194e5215399b696faa (diff)
add to cart after signin..
Diffstat (limited to 'StoneIsland/www/js/lib/auth/SignupView.js')
-rw-r--r--StoneIsland/www/js/lib/auth/SignupView.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js
index 3293b3aa..fe0e28db 100644
--- a/StoneIsland/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/www/js/lib/auth/SignupView.js
@@ -86,7 +86,7 @@ var SignupView = FormView.extend({
auth.user.name = this.last_data.Name
auth.user.surname = this.last_data.Surname
auth.user.email = this.last_data.Email
- app.account.logged_in()
+ app.account.logged_in(function(){ app.router.go("store") })
},
error: function(data){
@@ -97,15 +97,4 @@ var SignupView = FormView.extend({
auth.deferred_product = null
},
-/*
- var new_user_data = {
- "Email": "testit.account" + Math.floor(Math.random() * 10000000) + "@yoox.com",
- "Password": "TestPassword",
- "Gender": "M",
- "Name": "TestName",
- "Surname": "TestSurname",
- "DataProfiling": true,
- }
-*/
-
}) \ No newline at end of file