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
1 changed files with 1 additions and 1 deletions

View File

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