Commit a8340d0c authored by Cool Fire's avatar Cool Fire

Fix bug where strongtls would always be enabled

parent e73316bb
Pipeline #1732 passed with stage
in 2 minutes and 54 seconds
......@@ -45,7 +45,7 @@ class Manager2Api < Sinatra::Base
options['documentroot'] = params['documentroot']
end
options['strongtls'] = true if params.key? 'strongtls'
options['strongtls'] = true if params.key?('strongtls') && (params['strongtls'] == 'true')
# Submit request
request_submit(user, 'domain' => params['domain'], 'options' => options, 'comment' => comment)
......
Markdown is supported
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