From 3f1789530e1223b31c76e3f4186592fc890c19e0 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Wed, 25 Aug 2010 15:21:47 -0600 Subject: [PATCH] Fix text for successful authentication test. Fixes #849 --- usr/local/www/diag_authentication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php index 91874d462f..19c0d6948c 100755 --- a/usr/local/www/diag_authentication.php +++ b/usr/local/www/diag_authentication.php @@ -56,9 +56,9 @@ if ($_POST) { if (!$input_errors) { if (authenticate_user($_POST['username'], $_POST['password'], $authcfg)) { - $savemsg = gettext("User") . ": " . $_POST['username'] . " " . gettext("authenticated sucessfully."); + $savemsg = gettext("User") . ": " . $_POST['username'] . " " . gettext("authenticated successfully."); $groups = getUserGroups($_POST['username'], $authcfg); - $savemsg .= "
" + gettext("This user is member of this groups") + ":
"; + $savemsg .= "
" . gettext("This user is a member of these groups") . ":
"; foreach ($groups as $group) $savemsg .= "{$group} "; } else {