From bbf3d772c46c057cc9543ed90b27340bb390d64b Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 1 Sep 2015 21:36:56 +1000 Subject: [PATCH] use Discourse.logout, it works with SSO --- app/assets/javascripts/discourse/components/user-menu.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/user-menu.js.es6 b/app/assets/javascripts/discourse/components/user-menu.js.es6 index ef89a63de..578578ba7 100644 --- a/app/assets/javascripts/discourse/components/user-menu.js.es6 +++ b/app/assets/javascripts/discourse/components/user-menu.js.es6 @@ -72,7 +72,7 @@ export default Ember.Component.extend({ }); }, logout() { - User.logout(); + Discourse.logout(); } } });