mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 01:07:39 +08:00
419b47a81e
Small fixes
69 lines
No EOL
2.3 KiB
HTML
69 lines
No EOL
2.3 KiB
HTML
<div class="adminSecurity g-ui-user-select-none">
|
|
<div class="form-horizontal">
|
|
<div class="legend">
|
|
Security
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<label data-bind="click: function () { csrfProtection(!csrfProtection()); }">
|
|
<i data-bind="css: csrfProtection() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
<abbr title="Cross-site request forgery" class="initialism">CSRF</abbr> protection
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<label data-bind="click: function () { openPGP(!openPGP()); }">
|
|
<i data-bind="css: openPGP() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
Allow OpenPGP (beta)
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<label data-bind="click: function () { allowTwoFactorAuth(!allowTwoFactorAuth()); }">
|
|
<i data-bind="css: allowTwoFactorAuth() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
Allow 2-Step Verification (Google Authenticator) (beta)
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<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>
|
|
<div class="form-horizontal">
|
|
<div class="legend">
|
|
Changer Admin Password
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">
|
|
Current password
|
|
</label>
|
|
<div class="controls">
|
|
<input type="password" data-bind="value: adminPassword, valueUpdate: 'afterkeydown'" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">
|
|
New password
|
|
</label>
|
|
<div class="controls">
|
|
<input type="password" data-bind="value: adminPasswordNew, valueUpdate: 'afterkeydown'" />
|
|
</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>
|
|
</div> |