Skip to content
Snippets Groups Projects
Commit 772d5c59 authored by Jared Hancock's avatar Jared Hancock
Browse files

login: Fix error page in IE on failed login attempt

parent 4b12d549
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,7 @@ if (!$nav) {
}
// Browsers shouldn't suggest saving that username/password
Http::response(401);
header('WWW-Authenticate: html-form id=clientLogin');
Http::response(422);
require CLIENTINC_DIR.'header.inc.php';
require CLIENTINC_DIR.$inc;
......
......@@ -71,8 +71,7 @@ elseif (!$thisstaff || !($thisstaff->getId() || $thisstaff->isValid())) {
}
// Browsers shouldn't suggest saving that username/password
Http::response(401);
header('WWW-Authenticate: html-form id=login');
Http::response(422);
define("OSTSCPINC",TRUE); //Make includes happy!
include_once(INCLUDE_DIR.'staff/login.tpl.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment