summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_authentication.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-03-12 16:15:26 -0500
committerChris Buechler <cmb@pfsense.org>2010-03-12 16:15:26 -0500
commit335f296f21d5a58995ebdde83ef7ee7b0911321a (patch)
tree8e76f8879c3b6f065554d40a2c522dfd2e299769 /usr/local/www/diag_authentication.php
parenta2ec5a41bf9d2b47f769a3c668fb128d0d37826c (diff)
downloadpfsense-335f296f21d5a58995ebdde83ef7ee7b0911321a.zip
pfsense-335f296f21d5a58995ebdde83ef7ee7b0911321a.tar.gz
fix text
Diffstat (limited to 'usr/local/www/diag_authentication.php')
-rwxr-xr-xusr/local/www/diag_authentication.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php
index 974308b..8bb5000 100755
--- a/usr/local/www/diag_authentication.php
+++ b/usr/local/www/diag_authentication.php
@@ -52,10 +52,10 @@ if ($_POST) {
$authcfg = auth_get_authserver($_POST['authmode']);
if (!$authcfg)
- $input_errors[] = "Not valid authentication server {$_POST['authmode']}";
+ $input_errors[] = "{$_POST['authmode']} is not a valid authentication server ";
if (empty($_POST['username']) || empty($_POST['password']))
- $input_errors[] = "A valid username and password must be specified.";
+ $input_errors[] = "A username and password must be specified.";
if (!$input_errors) {
if (authenticate_user($_POST['username'], $_POST['password'], $authcfg)) {
@@ -65,7 +65,7 @@ if ($_POST) {
foreach ($groups as $group)
$savemsg .= "{$group} ";
} else {
- $input_errors[] = "User did not authenticate succesfully.";
+ $input_errors[] = "Authentication failed.";
}
}
}
@@ -120,7 +120,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input id="save" name="save" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
+ <input id="save" name="save" type="submit" class="formbtn" value="<?=gettext("Test");?>" />
</td>
</tr>
</table>
OpenPOWER on IntegriCloud