diff options
Diffstat (limited to 'StoneIsland/www/js/lib/auth/SignupView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/auth/SignupView.js | 13 |
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 |
