FIX: Don't route to a weird blank page when public profiles are disabled

This commit is contained in:
Robin Ward 2017-01-27 12:45:40 -05:00
parent 881986636c
commit e3670c52fa
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export default Ember.Component.extend(CleansUp, {
_show(username, $target) {
// No user card for anon
if (this.siteSettings.hide_user_profiles_from_public && !this.currentUser) {
return true;
return false;
}
// XSS protection (should be encapsulated)