summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-12 01:04:42 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-12 01:04:42 (GMT)
commitd7e655998980eb3b00cdd7eec1e61433a763dcd4 (patch)
treef11cb3d715ab8121ae3348d48fe4f70b1c23a4a5 /authentic/admin/settings.ptl
parentb189d26feabb285df9679e48fc4377dfbda773e6 (diff)
downloadauthentic-old-d7e655998980eb3b00cdd7eec1e61433a763dcd4.zip
authentic-old-d7e655998980eb3b00cdd7eec1e61433a763dcd4.tar.gz
authentic-old-d7e655998980eb3b00cdd7eec1e61433a763dcd4.tar.bz2
Add allow_ssl_login ssl option
* auhthentic/admin/settings.ptl:
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl3
1 files changed, 3 insertions, 0 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index 302ec29..08d67ee 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -854,6 +854,9 @@ class SettingsDirectory(Directory):
def ssl [html] (self):
form = Form(enctype='multipart/form-data')
ssl_cfg = get_cfg('ssl', {})
+ form.add(CheckboxWidget, 'allow_ssl_login', title = _('Permit login using SSL'),
+ value = ssl_cfg.get('allow_ssl_login', False),
+ hint = _('Activate the URL /login_ssl that permit to use SSL client certificates for authentification'))
form.add_submit('submit', _('Submit'))
form.add_submit('cancel', _('Cancel'))
if form.get_submit() == 'cancel':