mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
System: Trust: Revocation - forgot to persist new lifetime, causing the following exception:
Exception: Failed to parse time string (+ days) at position 0 (+): Unexpected character in /usr/local/opnsense/mvc/app/controllers/OPNsense/Trust/Api/CrlController.php:347 Stack trace:
This commit is contained in:
parent
633ba995ed
commit
862b1d7f8f
@ -299,6 +299,7 @@ class CrlController extends ApiControllerBase
|
||||
$crl->text = base64_encode((string)$payload['text']);
|
||||
}
|
||||
$crl->caref = (string)$caref;
|
||||
$crl->lifetime = (string)$payload['lifetime'];
|
||||
$crl->descr = (string)$payload['descr'];
|
||||
$crl->serial = !empty($payload['serial']) ? $payload['serial'] : $crl->serial;
|
||||
$crl->serial = ((int)((string)$crl->serial)) + 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user