diff --git a/web/admin/crontab/__init__.py b/web/admin/crontab/__init__.py index 64adb51cf..6ba8b5e70 100644 --- a/web/admin/crontab/__init__.py +++ b/web/admin/crontab/__init__.py @@ -20,6 +20,7 @@ import thisdb blueprint = Blueprint('crontab', __name__, url_prefix='/crontab', template_folder='../../templates') @blueprint.route('/index', endpoint='index') +@panel_login_required def index(): name = thisdb.getOption('template', default='default') return render_template('%s/crontab.html' % name) diff --git a/web/admin/site/site.py b/web/admin/site/site.py index 84720f5e1..0768e4111 100644 --- a/web/admin/site/site.py +++ b/web/admin/site/site.py @@ -22,6 +22,7 @@ import thisdb blueprint = Blueprint('site', __name__, url_prefix='/site', template_folder='../../templates/default') @blueprint.route('/index', endpoint='index') +@panel_login_required def index(): return render_template('site.html') diff --git a/web/utils/site.py b/web/utils/site.py index fb122e447..d3da43e9b 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -2391,7 +2391,7 @@ export PATH src_path = mw.getAcmeDomainDir(d) src_cert = src_path + '/fullchain.cer' src_key = src_path + '/' + d + '.key' - # src_cert.replace("\\*", "*") + msg = '签发失败,您尝试申请证书的失败次数已达上限!\

1、检查域名是否正确解析到本服务器,或解析还未完全生效

\

2、如果以上检查都确认没有问题,请尝试更换DNS服务商

'