summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js')
-rw-r--r--StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js b/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js
index 735c0242..481dcb8d 100644
--- a/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js
@@ -7,9 +7,10 @@ var LogoutView = View.extend({
show: function(){
document.body.className = "logout"
+ app.header.set_cart_count(0)
app.footer.hide()
+ auth.log_out()
app.account.logged_out()
- auth.clear_user()
},
}) \ No newline at end of file