Commit fad5f1fc authored by o@immerda.ch's avatar o@immerda.ch
Browse files

for now disable the option to enable encryption

parent 0443b057
......@@ -36,7 +36,7 @@ class ApplicationController < ActionController::Base
helper_method :admin?
def feature_toggle?(feature)
false
(Config['features'] || []).include?(feature)
end
helper_method :feature_toggle?
......
......@@ -17,9 +17,11 @@
</li>
<% end %>
<% else %>
<% if feature_toggle?('enable_mail_crypt') %>
<li><%= link_to (t :mail_crypt_settings) , mail_crypt_path %> (beta)
<br /><%= t(:enable_mail_crypt_short_help) %>
</li>
<% end %>
<% end %>
<li style='padding-top:10px'><%= link_to (t :delete_account) , delete_account_path %>
</li>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment