mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
Update net/freeradius/src/opnsense/mvc/app/models/OPNsense/Freeradius/Eap.php
freeradius: simplify tls version validation Co-authored-by: Franco Fichtner <franco@lastsummer.de>
This commit is contained in:
parent
f0b7d639d7
commit
b05f77304c
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class Eap extends BaseModel
|
|||
'1.3' => 13,
|
||||
];
|
||||
|
||||
if (isset($order[$min], $order[$max]) && $order[$min] > $order[$max]) {
|
||||
if ($this->tls_min_version->asFloat() > $this->tls_max_version->asFloat()) {
|
||||
$messages->appendMessage(new Message(
|
||||
gettext('TLS minimum version must be less than or equal to TLS maximum version.'),
|
||||
$this->tls_max_version->getInternalXMLTagName()
|
||||
|
|
|
|||
Loading…
Reference in a new issue