diff --git a/app/assets/javascripts/discourse/components/user-menu.js.es6 b/app/assets/javascripts/discourse/components/user-menu.js.es6 index ef89a63de81..578578ba7ee 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(); } } });