Project

General

Profile

« Previous | Next » 

Revision 335f296f

Added by Chris Buechler about 15 years ago

fix text

View differences:

usr/local/www/diag_authentication.php
52 52

  
53 53
	$authcfg = auth_get_authserver($_POST['authmode']);
54 54
	if (!$authcfg)
55
		$input_errors[] = "Not valid authentication server {$_POST['authmode']}";
55
		$input_errors[] = "{$_POST['authmode']} is not a valid authentication server ";
56 56

  
57 57
	if (empty($_POST['username']) || empty($_POST['password']))
58
		$input_errors[] = "A valid username and password must be specified.";
58
		$input_errors[] = "A username and password must be specified.";
59 59

  
60 60
	if (!$input_errors) {
61 61
		if (authenticate_user($_POST['username'], $_POST['password'], $authcfg)) {
......
65 65
			foreach ($groups as $group)
66 66
				$savemsg .= "{$group} ";
67 67
		} else {
68
			$input_errors[] = "User did not authenticate succesfully.";
68
			$input_errors[] = "Authentication failed.";
69 69
		}
70 70
	}
71 71
}
......
120 120
	<tr>
121 121
		<td width="22%" valign="top">&nbsp;</td>
122 122
		<td width="78%">
123
			<input id="save" name="save" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
123
			<input id="save" name="save" type="submit" class="formbtn" value="<?=gettext("Test");?>" />
124 124
		</td>
125 125
	</tr>
126 126
	</table>

Also available in: Unified diff