[Web] Fix policy map selection for dane

This commit is contained in:
andryyy 2019-11-29 12:14:46 +01:00
parent 9257fa90d4
commit 7910229dcf
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -1059,7 +1059,7 @@ if (isset($_SESSION['mailcow_cc_role'])) {
<option value="none" <?=($result['policy'] != 'none') ?: 'selected';?>>none</option> <option value="none" <?=($result['policy'] != 'none') ?: 'selected';?>>none</option>
<option value="may" <?=($result['policy'] != 'may') ?: 'selected';?>>may</option> <option value="may" <?=($result['policy'] != 'may') ?: 'selected';?>>may</option>
<option value="encrypt" <?=($result['policy'] != 'encrypt') ?: 'selected';?>>encrypt</option> <option value="encrypt" <?=($result['policy'] != 'encrypt') ?: 'selected';?>>encrypt</option>
<option value="dane" <?=($result['policy'] != 'dane') ?: 'selected';?>>dane-only</option> <option value="dane" <?=($result['policy'] != 'dane') ?: 'selected';?>>dane</option>
<option value="dane-only" <?=($result['policy'] != 'dane-only') ?: 'selected';?>>dane-only</option> <option value="dane-only" <?=($result['policy'] != 'dane-only') ?: 'selected';?>>dane-only</option>
<option value="fingerprint" <?=($result['policy'] != 'fingerprint') ?: 'selected';?>>fingerprint</option> <option value="fingerprint" <?=($result['policy'] != 'fingerprint') ?: 'selected';?>>fingerprint</option>
<option value="verify" <?=($result['policy'] != 'verify') ?: 'selected';?>>verify</option> <option value="verify" <?=($result['policy'] != 'verify') ?: 'selected';?>>verify</option>