summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/auth/LogoutView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-22 16:11:12 -0500
committerJules Laplace <jules@okfoc.us>2015-11-22 16:11:12 -0500
commitfa9d1c62c8cc4b39caee69b1ba31401f0d4aac66 (patch)
treebe7de3febad13a0ba77aa02e19f9527df81549d1 /StoneIsland/www/js/lib/auth/LogoutView.js
parent46bca0d394d4c327d692a081f9afedcf7e05c146 (diff)
keep user object around after login
Diffstat (limited to 'StoneIsland/www/js/lib/auth/LogoutView.js')
-rw-r--r--StoneIsland/www/js/lib/auth/LogoutView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/auth/LogoutView.js b/StoneIsland/www/js/lib/auth/LogoutView.js
index feb264dd..735c0242 100644
--- a/StoneIsland/www/js/lib/auth/LogoutView.js
+++ b/StoneIsland/www/js/lib/auth/LogoutView.js
@@ -8,7 +8,8 @@ var LogoutView = View.extend({
show: function(){
document.body.className = "logout"
app.footer.hide()
- app.account.log_out()
+ app.account.logged_out()
+ auth.clear_user()
},
}) \ No newline at end of file