aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/functions/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/functions/error.php')
-rw-r--r--phpBB/functions/error.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/functions/error.php b/phpBB/functions/error.php
index 1b819f511b..1a21ab0023 100644
--- a/phpBB/functions/error.php
+++ b/phpBB/functions/error.php
@@ -56,6 +56,10 @@ function error_die($db, $error_code = "", $error_msg = "")
break;
case NO_POSTS:
$error_msg = "There are no posts in this forum. Click on the 'Post New Topic' link on this page to post one.";
+ break;
+ case LOGIN_FAILED:
+ $error_msg = "Login Failed. You have specified an incorrect username or password, please go back and try again.";
+ break;
}
}
if(DEBUG)