summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-17 11:17:29 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-17 11:17:29 -0300
commit7f7626ba444140848da559431688a5b38d3eeffd (patch)
treef336e0ea0103f1bcac53cd282cdfe2ff562da1c7 /etc/inc/auth.inc
parent9c3b8c6edba4ca1d6cedb21c85f17a9637e18a74 (diff)
parent8cd558b61b9c24ee109993d8e76ddc4870ffa4fa (diff)
downloadpfsense-7f7626ba444140848da559431688a5b38d3eeffd.zip
pfsense-7f7626ba444140848da559431688a5b38d3eeffd.tar.gz
Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index ddd20e7..4a0c794 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -104,7 +104,7 @@ if (function_exists("display_error_form") && !isset($config['system']['webgui'][
if($found_host == false) {
if(!security_checks_disabled()) {
- display_error_form("501", gettext("Potential DNS Rebind attack detected, see http://en.wikipedia.org/wiki/DNS_rebinding<br/>Try accessing the router by IP address instead of by hostname."));
+ display_error_form("501", gettext("Potential DNS Rebind attack detected, see http://en.wikipedia.org/wiki/DNS_rebinding<br />Try accessing the router by IP address instead of by hostname."));
exit;
}
$security_passed = false;
@@ -1206,7 +1206,7 @@ function radius_backed($username, $passwd, $authcfg, &$attributes = array()) {
$retvalue['auth_val'] = 1;
$retvalue['error'] = $rauth->getError();
if ($debug)
- printf(gettext("Radius start: %s<br>\n"), $retvalue['error']);
+ printf(gettext("Radius start: %s<br />\n"), $retvalue['error']);
}
// XXX - billm - somewhere in here we need to handle securid challenge/response
@@ -1217,18 +1217,18 @@ function radius_backed($username, $passwd, $authcfg, &$attributes = array()) {
$retvalue['auth_val'] = 1;
$retvalue['error'] = $result->getMessage();
if ($debug)
- printf(gettext("Radius send failed: %s<br>\n"), $retvalue['error']);
+ printf(gettext("Radius send failed: %s<br />\n"), $retvalue['error']);
} else if ($result === true) {
if ($rauth->getAttributes())
$attributes = $rauth->listAttributes();
$retvalue['auth_val'] = 2;
if ($debug)
- printf(gettext("Radius Auth succeeded")."<br>\n");
+ printf(gettext("Radius Auth succeeded")."<br />\n");
$ret = true;
} else {
$retvalue['auth_val'] = 3;
if ($debug)
- printf(gettext("Radius Auth rejected")."<br>\n");
+ printf(gettext("Radius Auth rejected")."<br />\n");
}
// close OO RADIUS_AUTHENTICATION
OpenPOWER on IntegriCloud