Closed cornelinux closed 5 years ago
The subscection definition dir = user is hardcoded here:
dir = user
https://github.com/privacyidea/FreeRADIUS/blob/master/privacyidea_radius.pm#L271
This should be $decoded->{detail}{$directory} even if there might be no other subsection/dir.
$decoded->{detail}{$directory}
The thing is in rlm_perl.ini we could configure another json subbranch instead of "detail"->"user", but the configuration is not used.
rlm_perl.ini
The subscection definition
dir = user
is hardcoded here:https://github.com/privacyidea/FreeRADIUS/blob/master/privacyidea_radius.pm#L271
This should be
$decoded->{detail}{$directory}
even if there might be no other subsection/dir.