diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-11 09:21:08 -0800 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-11 09:21:08 -0800 |
commit | 1f6eb68ef91c5743b058d6d8f10a4a20ee3d6d96 (patch) | |
tree | ddde80d7dda0fba6738b2555fa6a23deedb5f02f /settings/js | |
parent | b6e0842f4cf701fc45ea5a5a6c3e54aa976a5206 (diff) | |
parent | ffbf273c9a0a7093fc1ec7291df39db3ad288cd1 (diff) | |
download | nextcloud-server-1f6eb68ef91c5743b058d6d8f10a4a20ee3d6d96.tar.gz nextcloud-server-1f6eb68ef91c5743b058d6d8f10a4a20ee3d6d96.zip |
Merge pull request #1150 from owncloud/EnableSSL-AdminMenu
Add security section to admin settings to enable the HTTPS enforcement
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/admin.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index 95b7a503c27..ab218377fb3 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -30,4 +30,8 @@ $(document).ready(function(){ } OC.AppConfig.setValue('core', $(this).attr('name'), value); }); + + $('#security').change(function(){ + $.post(OC.filePath('settings','ajax','setsecurity.php'), { enforceHTTPS: $('#enforceHTTPSEnabled').val() },function(){} ); + }); }); |