mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Added "Allow self signed certificates" setting
Updated recaptcha plugin
This commit is contained in:
parent
46187d0749
commit
833f40c115
35 changed files with 363 additions and 273 deletions
|
|
@ -29,6 +29,7 @@
|
|||
this.capaTwoFactorAuth = ko.observable(Settings.capa(Enums.Capa.TwoFactor));
|
||||
|
||||
this.verifySslCertificate = ko.observable(!!Settings.settingsGet('VerifySslCertificate'));
|
||||
this.allowSelfSigned = ko.observable(!!Settings.settingsGet('AllowSelfSigned'));
|
||||
|
||||
this.adminLogin = ko.observable(Settings.settingsGet('AdminLogin'));
|
||||
this.adminLoginError = ko.observable(false);
|
||||
|
|
@ -138,6 +139,12 @@
|
|||
'VerifySslCertificate': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
|
||||
this.allowSelfSigned.subscribe(function (bValue) {
|
||||
Remote.saveAdminConfig(null, {
|
||||
'AllowSelfSigned': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
SecurityAdminSettings.prototype.onHide = function ()
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@
|
|||
|
||||
.e-component.material-design {
|
||||
|
||||
margin-top: 2px;
|
||||
margin-bottom: 6px;
|
||||
|
||||
&.e-checkbox {
|
||||
|
||||
.sub-checkbox-container {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue