diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-11 17:18:51 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-11 17:18:51 +0400 |
commit | 466cdab680d74cad2cbb902efa3e3c2f9e35f767 (patch) | |
tree | 3d1b553668b16a57c68721ee325ee734df886906 /settings/routes.php | |
parent | 60489764f37a6f344fa20e361a26c7a6006f9c97 (diff) |
Add security section to admin menu
Currently it only allows the admin to enable or disable the HTTPS
enforcement, but in the future it could be expanded to further options.
The HTTPS enforcement only allows the admin to enforce it, if he is
connected via HTTPS. (To prevent admins to enable it without a proper
SSL setup)
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php index 8239fe005db..595b83c313e 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -58,6 +58,8 @@ $this->create('settings_ajax_getlog', '/settings/ajax/getlog.php') ->actionInclude('settings/ajax/getlog.php'); $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php') ->actionInclude('settings/ajax/setloglevel.php'); +$this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php') + ->actionInclude('settings/ajax/setsecurity.php'); // apps/user_openid $this->create('settings_ajax_openid', '/settings/ajax/openid.php') |