Restore password policy editing in Web Console
This commit is contained in:
1 parent
bf3b40d9a5
commit
4801cfbe77
6 files changed
+174
-25
No files matched your search
@@ -66,7 +66,25 @@
|
||||
<h1 id="security-title" tabindex="-1">Безопасность</h1>
|
||||
<div class="detail-grid">
|
||||
<article class="card detail"><h2>Политика паролей</h2><p class="muted">Требования оригинального EzServer к новым паролям</p>
|
||||
<dl id="policy"></dl>
|
||||
<form id="policy" class="policy">
|
||||
<fieldset id="policy-fields" disabled>
|
||||
<label>Минимальная длина<select name="minimumLength" required></select></label>
|
||||
<fieldset class="policy-toggles">
|
||||
<legend>Типы символов (не менее двух)</legend>
|
||||
<label><input type="checkbox" name="isUpperAlphabetsEnabled"> Прописные буквы</label>
|
||||
<label><input type="checkbox" name="isLowerAlphabetsEnabled"> Строчные буквы</label>
|
||||
<label><input type="checkbox" name="isNumericDigitsEnabled"> Цифры</label>
|
||||
<label><input type="checkbox" name="isSpecialCharactersEnabled"> Специальные символы</label>
|
||||
</fieldset>
|
||||
<label class="policy-switch"><input type="checkbox" name="isExpirationEnabled"> Ограничить срок действия</label>
|
||||
<div class="policy-period">
|
||||
<label>Срок, дней<select name="expirationDaysAfter"></select></label>
|
||||
<label>Напомнить за, дней<select name="expirationReminderDaysBefore"></select></label>
|
||||
</div>
|
||||
<button class="filled" type="submit">Сохранить</button>
|
||||
</fieldset>
|
||||
<p id="policy-feedback" role="status" hidden></p>
|
||||
</form>
|
||||
</article>
|
||||
<article class="card detail"><h2>Защита идентификаторов</h2><dl id="privacy"></dl></article>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user