diff options
-rw-r--r-- | config/freeradius2/freeradius.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc index 4a4fee14..30389bc6 100644 --- a/config/freeradius2/freeradius.inc +++ b/config/freeradius2/freeradius.inc @@ -158,7 +158,9 @@ function freeradius_settings_resync() { $varsettingslogdir = ($varsettings['varsettingslogdir']?$varsettings['varsettingslogdir']:'syslog'); $varsettingsauth = ($varsettings['varsettingsauth']?$varsettings['varsettingsauth']:'yes'); $varsettingsauthbadpass = ($varsettings['varsettingsauthbadpass']?$varsettings['varsettingsauthbadpass']:'no'); + $varsettingsauthbadpassmessage = ($varsettings['varsettingsauthbadpassmessage']?$varsettings['varsettingsauthbadpassmessage']:''); $varsettingsauthgoodpass = ($varsettings['varsettingsauthgoodpass']?$varsettings['varsettingsauthgoodpass']:'no'); + $varsettingsauthgoodpassmessage = ($varsettings['varsettingsauthgoodpassmessage']?$varsettings['varsettingsauthgoodpassmessage']:'no'); $varsettingsstrippednames = ($varsettings['varsettingsstrippednames']?$varsettings['varsettingsstrippednames']:'no'); // Variables: Security @@ -304,8 +306,8 @@ log { auth = $varsettingsauth auth_badpass = $varsettingsauthbadpass auth_goodpass = $varsettingsauthgoodpass - ###msg_goodpass = "" - ###msg_badpass = "" + msg_goodpass = "$varsettingsauthgoodpassmessage" + msg_badpass = "$varsettingsauthbadpassmessage" } checkrad = \${sbindir}/checkrad |