summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/sqlradius.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-10-09 20:06:19 +0000
committerivan <ivan>2008-10-09 20:06:19 +0000
commit9e378e221e9acf18dd294d6e8e3c2fd0b5f26b09 (patch)
treea3efdedee535be652a3d8cd4373605baa3347fb0 /FS/FS/part_export/sqlradius.pm
parent9d74cea56767d887c7b0a26ec337feb1ff05b96a (diff)
use Freeradius := attribute for ALL attributes except Password. Crypt-Password, User-Password, Password-With-Header should now use := instead of ==. RT#4051
Diffstat (limited to 'FS/FS/part_export/sqlradius.pm')
-rw-r--r--FS/FS/part_export/sqlradius.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm
index 88b7ed3..6b068a9 100644
--- a/FS/FS/part_export/sqlradius.pm
+++ b/FS/FS/part_export/sqlradius.pm
@@ -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;