use Discourse.logout, it works with SSO

This commit is contained in:
Sam 2015-09-01 21:36:56 +10:00
parent 5925155394
commit bbf3d772c4

View file

@ -72,7 +72,7 @@ export default Ember.Component.extend({
}); });
}, },
logout() { logout() {
User.logout(); Discourse.logout();
} }
} }
}); });