diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-03-12 22:01:02 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-03-12 22:01:02 -0500 |
commit | d045f380673f8b75c8d798c81106fee523faf6ff (patch) | |
tree | e3634dea7cac29cc61fa13d3609d768451ac2f03 /etc/inc | |
parent | a819eab22247e04f22dfd586a60d10537efb5b54 (diff) | |
parent | cc229ee94a897423d6eac771eefe8684c2fa1c2c (diff) | |
download | pfsense-d045f380673f8b75c8d798c81106fee523faf6ff.zip pfsense-d045f380673f8b75c8d798c81106fee523faf6ff.tar.gz |
Merge pull request #1557 from phil-davis/patch-3
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 002195f..cbc197e 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -2068,7 +2068,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut $mac['logintype'] = "voucher"; } } - if ($username = "unauthenticated") { + if ($username == "unauthenticated") { $mac['descr'] = "Auto-added"; } else { $mac['descr'] = "Auto-added for user {$username}"; |