use Freeradius := attribute for ALL attributes except Password. Crypt-Password,...
authorivan <ivan>
Thu, 9 Oct 2008 20:06:19 +0000 (20:06 +0000)
committerivan <ivan>
Thu, 9 Oct 2008 20:06:19 +0000 (20:06 +0000)
FS/FS/part_export/sqlradius.pm

index 88b7ed3..6b068a9 100644 (file)
@@ -364,7 +364,7 @@ sub sqlradius_insert { #subroutine, not method
       $i_sth->execute(
         $username,
         $attribute,
-        ( $attribute =~ /Password/i ? '==' : ':=' ),
+        ( $attribute eq 'Password' ? '==' : ':=' ),
         $attributes{$attribute},
       ) or die $i_sth->errstr;