summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
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