Skip to content
Snippets Groups Projects
Commit 4ab35d6e authored by Enrique de la Hoz's avatar Enrique de la Hoz
Browse files

more fatalError translation related issues

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@485 44740490-163a-0410-bde0-09ae8108e29a
parent 3fe09f3d
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,8 @@ if (empty($session)) ...@@ -27,8 +27,8 @@ if (empty($session))
*/ */
if (!array_key_exists('RelayState', $_REQUEST)) { if (!array_key_exists('RelayState', $_REQUEST)) {
SimpleSAML_Utilities::fatalError( SimpleSAML_Utilities::fatalError(
'Invalid access of LDAP login page', $session->getTrackID(),
'Missing RelayState argument to authentication module.' 'NORELAYSTATE'
); );
} }
...@@ -78,7 +78,8 @@ if (isset($_POST['password'])) { ...@@ -78,7 +78,8 @@ if (isset($_POST['password'])) {
exit(0); exit(0);
} else { } else {
SimpleSAML_Logger::stats('AUTH-login-admin Failed'); SimpleSAML_Logger::stats('AUTH-login-admin Failed');
$error = 'Password incorrect'; $error = 'error_wrongpassword';
SimpleSAML_Logger::info($error);;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment