Skip to content

Commit

Permalink
Merge pull request #6542 from JediKev/issue/remove-old-login-code
Browse files Browse the repository at this point in the history
Reviewed-By: Peter Rotich <peter@osticket.com>
  • Loading branch information
protich committed May 30, 2023
2 parents 4e570b5 + e17ad46 commit b7b31e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions login.php
Expand Up @@ -147,9 +147,6 @@
$nav->setActiveNav('status');
}

// Browsers shouldn't suggest saving that username/password
Http::response(422);

require CLIENTINC_DIR.'header.inc.php';
require CLIENTINC_DIR.$inc;
require CLIENTINC_DIR.'footer.inc.php';
Expand Down
3 changes: 0 additions & 3 deletions scp/login.php
Expand Up @@ -131,9 +131,6 @@
Http::redirect($dest);
}

// Browsers shouldn't suggest saving that username/password
Http::response(422);

define("OSTSCPINC",TRUE); //Make includes happy!
include_once(INCLUDE_DIR.'staff/login.tpl.php');
?>

0 comments on commit b7b31e7

Please sign in to comment.