diff --git a/login.php b/login.php index a1ec622458..a08c83a010 100644 --- a/login.php +++ b/login.php @@ -124,8 +124,7 @@ } // 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; diff --git a/scp/login.php b/scp/login.php index f0da8319ec..34bbcc22a0 100644 --- a/scp/login.php +++ b/scp/login.php @@ -71,8 +71,7 @@ } // 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');