Commit 51bb1943 authored by Cool Fire's avatar Cool Fire

Fix strongtls always true bug in vhost creation api route too

parent a8340d0c
Pipeline #1735 passed with stage
in 2 minutes and 36 seconds
......@@ -132,7 +132,7 @@ class Manager2Api < Sinatra::Base
[params['domain']]['customdomain'] = true
if params.key? 'strongtls'
if params.key?('strongtls') && (params['strongtls'] == 'true')
[params['domain']]['strongtls'] = true
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