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