Merge pull request #5492 from owncloud/admin-forcesslwrongid
Fixed wrong id when reading checkbox value for force SSL setting
This commit is contained in:
commit
30cf7fee11
|
@ -32,6 +32,6 @@ $(document).ready(function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#security').change(function(){
|
$('#security').change(function(){
|
||||||
$.post(OC.filePath('settings','ajax','setsecurity.php'), { enforceHTTPS: $('#enforceHTTPSEnabled').val() },function(){} );
|
$.post(OC.filePath('settings','ajax','setsecurity.php'), { enforceHTTPS: $('#forcessl').val() },function(){} );
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue