diff options
author | Alexander Wilke <nachtfalkeaw@web.de> | 2013-06-16 18:54:33 +0300 |
---|---|---|
committer | Alexander Wilke <nachtfalkeaw@web.de> | 2013-06-16 18:54:33 +0300 |
commit | 355ebce27aeb941f949f26f9c70d08150f37a7db (patch) | |
tree | dba33d67cef3ce271434c834e8c2fcf0ef6b4b7b /config/freeradius2 | |
parent | 11e9c582d5529d35a07fec6bfe63811d0a45f88b (diff) | |
download | pfsense-packages-355ebce27aeb941f949f26f9c70d08150f37a7db.tar.gz pfsense-packages-355ebce27aeb941f949f26f9c70d08150f37a7db.tar.bz2 pfsense-packages-355ebce27aeb941f949f26f9c70d08150f37a7db.zip |
freeradius2: m-OTP allow negative offset
Diffstat (limited to 'config/freeradius2')
-rw-r--r-- | config/freeradius2/freeradius.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc index b2df3d0b..bf48dd06 100644 --- a/config/freeradius2/freeradius.inc +++ b/config/freeradius2/freeradius.inc @@ -4003,7 +4003,7 @@ USERNAME=`echo -n "\$1" | sed 's/[^0-9a-zA-Z._-]/X/g' ` PASSWD=`echo -n "\$2" | sed 's/[^0-9a-f]/0/g' ` SECRET=`echo -n "\$3" | sed 's/[^0-9a-f]/0/g' ` PIN=`echo -n "\$4" | sed 's/[^0-9]/0/g' ` -OFFSET=`echo -n "\$5" | sed 's/[^0-9]/0/g' ` +OFFSET=`echo -n "\$5" | sed 's/[^0-9-]/0/g' ` EPOCHTIME=`date +%s` ; EPOCHTIME=`chop \$EPOCHTIME` # delete old logins |