privacyidea / FreeRADIUS

Add two factor authentication to FreeRADIUS via privacyIDEA
GNU General Public License v2.0
19 stars 17 forks source link

Fix subsection #12

Closed cornelinux closed 5 years ago

cornelinux commented 5 years ago

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.

cornelinux commented 5 years ago

The thing is in rlm_perl.ini we could configure another json subbranch instead of "detail"->"user", but the configuration is not used.