Skip to content

Commit eed8d1b

Browse files
fix: allow select crl fields to be editable #857
1 parent 9da348c commit eed8d1b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/CertificateRevocationList.inc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class CertificateRevocationList extends Model {
4040
$this->descr = new StringField(
4141
required: true,
4242
unique: true,
43-
editable: false,
4443
validators: [new RegexValidator(pattern: "/[\?\>\<\&\/\\\"\']/", invert: true)],
4544
help_text: 'The unique name/description for this CRL.',
4645
);
@@ -59,15 +58,13 @@ class CertificateRevocationList extends Model {
5958
);
6059
$this->lifetime = new IntegerField(
6160
default: 730,
62-
editable: false,
6361
minimum: 1,
6462
maximum: 8381,
6563
conditions: ['method' => 'internal'],
6664
help_text: 'The lifetime of this CRL in days.',
6765
);
6866
$this->serial = new IntegerField(
6967
default: 0,
70-
editable: false,
7168
conditions: ['method' => 'internal'],
7269
help_text: 'The serial number of the CRL.',
7370
);

0 commit comments

Comments
 (0)