From 9e378e221e9acf18dd294d6e8e3c2fd0b5f26b09 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 9 Oct 2008 20:06:19 +0000 Subject: [PATCH] use Freeradius := attribute for ALL attributes except Password. Crypt-Password, User-Password, Password-With-Header should now use := instead of ==. RT#4051 --- FS/FS/part_export/sqlradius.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm index 88b7ed399..6b068a93d 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; -- 2.11.0