mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
we should be able to switch out of anon
This commit is contained in:
parent
f5d89169e2
commit
be27fca904
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@ export default Ember.ArrayController.extend({
|
||||||
|
|
||||||
allowAnon: function(){
|
allowAnon: function(){
|
||||||
return Discourse.SiteSettings.allow_anonymous_posting &&
|
return Discourse.SiteSettings.allow_anonymous_posting &&
|
||||||
Discourse.User.currentProp("trust_level") >= Discourse.SiteSettings.anonymous_posting_min_trust_level;
|
(Discourse.User.currentProp("trust_level") >= Discourse.SiteSettings.anonymous_posting_min_trust_level ||
|
||||||
|
this.get("isAnon"));
|
||||||
}.property(),
|
}.property(),
|
||||||
|
|
||||||
isAnon: function(){
|
isAnon: function(){
|
||||||
|
|
Loading…
Reference in a new issue