We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8b35d0 commit 7140a2cCopy full SHA for 7140a2c
src/opnsense/mvc/app/library/OPNsense/Auth/Radius.php
@@ -501,7 +501,7 @@ public function authenticate($username, $password)
501
syslog(LOG_ERR, 'RadiusError: ' . $error);
502
} else {
503
$request = radius_send_request($radius);
504
- if (!$radius) {
+ if (!$request) {
505
syslog(LOG_ERR, 'RadiusError: ' . radius_strerror($radius));
506
507
switch ($request) {
0 commit comments