mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
parent
a9a90af672
commit
ef2e3b5d2b
@ -188,7 +188,7 @@ EOD;
|
||||
$user = $clientmac;
|
||||
$passwd = $cpcfg['radmac_secret'];
|
||||
$context = 'radmac'; // Radius MAC authentication
|
||||
} elseif (!empty($_POST['auth_user2'])) {
|
||||
} elseif (!empty(trim($_POST['auth_user2']))) {
|
||||
$user = trim($_POST['auth_user2']);
|
||||
$passwd = $_POST['auth_pass2'];
|
||||
$context = 'second'; // Assume users to use the first context if auth_user2 is empty/does not exist
|
||||
|
||||
Loading…
Reference in New Issue
Block a user