Permalink
Browse files

Fixes the admin bug with HSTS with subdomains.

  • Loading branch information...
1 parent 9436806 commit 49b2ea68326d7507f5f7cf62a4d7a927b23bfa4c @skinkie committed Nov 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/PageVServer.py
View
@@ -686,7 +686,7 @@ def __init__ (self, vsrv_num, refreshable):
if int(CTK.cfg.get_val('%s!hsts' %(pre), "0")):
table.Add (_('HSTS Max-Age'), CTK.TextCfg ('%s!hsts!max_age'%(pre), True, {'optional_string':_("One year")}), _(NOTE_HSTS_MAXAGE))
- table.Add (_('Include Subdomains'), CTK.CheckCfgText ('%s!subdomains'%(pre), True, _('Include all')), _(NOTE_HSTS_SUBDOMAINS))
+ table.Add (_('Include Subdomains'), CTK.CheckCfgText ('%s!hsts!subdomains'%(pre), True, _('Include all')), _(NOTE_HSTS_SUBDOMAINS))
submit = CTK.Submitter (url_apply)
submit.bind ('submit_success', refreshable.JS_to_refresh())

0 comments on commit 49b2ea6

Please sign in to comment.