summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/PaymentView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account/PaymentView.js')
-rw-r--r--StoneIsland/www/js/lib/account/PaymentView.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js
index 4d6ccce5..d61ab5ab 100644
--- a/StoneIsland/www/js/lib/account/PaymentView.js
+++ b/StoneIsland/www/js/lib/account/PaymentView.js
@@ -14,6 +14,7 @@ var PaymentView = FormView.extend({
},
show: function(){
+ if (! auth.logged_in()) { return app.router.go("intro") }
app.footer.show("SAVE", "CANCEL")
document.body.className = "payment"
},