Actions
Bug #10847
closedMobile user IPSec (PSK+Xauth) fails at user auth with PHP error
Start date:
08/22/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:
All
Description
amd64
12.1-STABLE
FreeBSD 12.1-STABLE b385628d96e(devel-12) pfSense
Crash report details:
PHP Errors:
[21-Aug-2020 18:37:05 Etc/Greenwich] PHP Fatal error: Uncaught Error: Cannot pass parameter 3 by reference in /etc/inc/ipsec.auth-user.php:95
Stack trace:
#0 {main}
thrown in /etc/inc/ipsec.auth-user.php on line 95
Fixed by chaging:
$userGroups = getUserGroups($username, $authcfg, array());
to
$userGroups = getUserGroups($username, $authcfg, $attributes = array());
Pull request: https://github.com/pfsense/pfsense/pull/4429
Actions