From fa9d1c62c8cc4b39caee69b1ba31401f0d4aac66 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 22 Nov 2015 16:11:12 -0500 Subject: keep user object around after login --- StoneIsland/www/js/lib/auth/LogoutView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/auth/LogoutView.js') 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 -- cgit v1.2.3-70-g09d2