Skip to content
Snippets Groups Projects
Commit 6f9a8134 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fixed radius auth module to not print debug information.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@380 44740490-163a-0410-bde0-09ae8108e29a
parent 9d7551dd
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,12 @@ if (isset($_POST['username'])) {
$vendor = $resv['vendor'];
$attrv = $resv['attr'];
$datav = $resv['data'];
printf("Got Vendor Attr:%d %d Bytes %s\n", $attrv, strlen($datav), bin2hex($datav));
/**
* Uncomment this to debug vendor attributes.
*/
// printf("Got Vendor Attr:%d %d Bytes %s\n", $attrv, strlen($datav), bin2hex($datav));
if ($vendor == $config->getValue('auth.radius.vendor') && $attrv == $config->getValue('auth.radius.vendor-attr'))
$attrib_name = strtok ($datav,'=');
$attrib_value = strtok ('=');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment