only allow organizations to be managed by admins

This commit is contained in:
Adam Cooke
2017-04-21 10:18:24 +01:00
parent 90b90577cf
commit 46daca9aa7
10 changed files with 70 additions and 119 deletions
+4
View File
@@ -159,4 +159,8 @@ module Postal
end
end
def self.anonymous_signup?
config.general&.anonymous_signup != false
end
end