From 83b6163b4b75b7d06178dbf43719dbb1be1392d1 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Sun, 25 Feb 2001 22:24:17 +0000 Subject: Added login/logout file and logic to login a user git-svn-id: file:///svn/phpbb/trunk@65 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/functions/error.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpBB/functions/error.php') 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) -- cgit v1.2.1