Login: Restore authentication failed message.

This commit is contained in:
fusionate
2023-06-17 23:16:39 +00:00
parent 8393701d13
commit 3021f59431
6 changed files with 84 additions and 30 deletions
+1 -1
View File
@@ -67,7 +67,7 @@
//redirect the user to the login page
$target_path = ($_REQUEST["path"] != '') ? $_REQUEST["path"] : $_SERVER["PHP_SELF"];
message::add($text['message-invalid_credentials'], 'negative');
message::add($text['message-authentication_failed'], 'negative');
header("Location: ".PROJECT_PATH."/?path=".urlencode($target_path));
exit;
}