2013-12-11 04:14:59 +08:00
|
|
|
<div class="adminSecurity g-ui-user-select-none">
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="legend">
|
|
|
|
Security
|
|
|
|
</div>
|
2014-03-13 06:29:33 +08:00
|
|
|
<div class="control-group">
|
2014-01-29 00:09:41 +08:00
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
2015-02-01 23:44:44 +08:00
|
|
|
params: { value: capaTwoFactorAuth, label: 'Allow 2-Step Verification' }
|
2014-10-29 06:05:50 +08:00
|
|
|
}"></div>
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: { value: useLocalProxyForExternalImages, label: 'Use local proxy for external images' }
|
|
|
|
}"></div>
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: { value: capaOpenPGP, label: 'Allow OpenPGP', inline: true }
|
|
|
|
}"></div>
|
|
|
|
|
|
|
|
<span style="color:red">(beta)</span>
|
2014-10-18 23:29:09 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-06 05:41:22 +08:00
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<a href="#" target="_blank" class="g-ui-link" data-bind="link: phpInfoLink()">Show PHP information</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="legend">
|
2014-10-18 20:52:51 +08:00
|
|
|
Admin Panel Access Credentials
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">
|
|
|
|
Current password
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: adminPassword" />
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-18 23:06:31 +08:00
|
|
|
<br />
|
|
|
|
<div class="control-group" data-bind="css: {'error': adminLoginError}">
|
|
|
|
<label class="control-label">
|
|
|
|
New login
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="textInput: adminLogin" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-29 23:31:49 +08:00
|
|
|
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
|
2013-11-12 06:01:44 +08:00
|
|
|
<label class="control-label">
|
|
|
|
New password
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: adminPasswordNew" />
|
2014-04-29 23:31:49 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
|
|
|
|
<label class="control-label">
|
2014-10-18 21:43:44 +08:00
|
|
|
Repeat
|
2014-04-29 23:31:49 +08:00
|
|
|
</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: adminPasswordNew2" />
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<a class="btn" data-bind="command: saveNewAdminPasswordCommand, css: { 'btn-success': adminPasswordUpdateSuccess, 'btn-danger': adminPasswordUpdateError }">
|
|
|
|
<i class="icon-key" data-bind="css: {'icon-white': adminPasswordUpdateSuccess() || adminPasswordUpdateError() }"></i>
|
|
|
|
|
|
|
|
Update Password
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-27 05:06:00 +08:00
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="legend">
|
|
|
|
SSL
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
value: verifySslCertificate,
|
|
|
|
label: 'Require verification of SSL certificate used (IMAP/SMTP)',
|
|
|
|
inline: true
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
|
|
|
|
<span style="color:red">(unstable)</span>
|
|
|
|
<br />
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
enable: verifySslCertificate,
|
|
|
|
value: allowSelfSigned,
|
|
|
|
label: 'Allow self signed certificates'
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|