diff --git a/languages/en.lang b/languages/en.lang index e5740d42..e28b0b44 100644 --- a/languages/en.lang +++ b/languages/en.lang @@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'Mail admins login here to administer your domain.'; $PALANG['pLogin_username'] = 'Login (email)'; $PALANG['pLogin_password'] = 'Password'; $PALANG['pLogin_button'] = 'Login'; -$PALANG['pLogin_username_incorrect'] = 'Your login is not correct. Make sure that you login with your email address!'; -$PALANG['pLogin_password_incorrect'] = 'Your password is not correct!'; +$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; $PALANG['pLogin_login_users'] = 'Users click here to login to the user section.'; $PALANG['pMenu_main'] = 'Main'; diff --git a/login.php b/login.php index 39b992a9..607f7e66 100644 --- a/login.php +++ b/login.php @@ -71,14 +71,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") if ($result['rows'] != 1) { $error = 1; - $tMessage = $PALANG['pLogin_password_incorrect']; + $tMessage = $PALANG['pLogin_failed']; $tUsername = $fUsername; } } else { $error = 1; - $tMessage = $PALANG['pLogin_username_incorrect']; + $tMessage = $PALANG['pLogin_failed']; } if ($error != 1)