Skip to content

Commit

Permalink
Merge pull request #2914 from HHS/remove-auth-debugging-component
Browse files Browse the repository at this point in the history
remove link to auth debugging page
  • Loading branch information
johndeange authored Oct 10, 2024
2 parents 5210983 + e324147 commit 34914ba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/src/pages/Login.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import MultiAuthSection from "../components/Auth/MultiAuthSection";
import Footer from "../components/UI/Footer";
import logo from "../components/UI/Header/OPRE_Logo.png";
import MultiAuthSectionWithDebugging from "../components/Auth/MultiAuthSectionWithDebugging.jsx";

const debuggingEnabled = import.meta.env.VITE_AUTH_DEBUG && !window.location.href.startsWith("https:/stg");

function Login() {
const styles = {
Expand Down Expand Up @@ -46,8 +43,7 @@ function Login() {
<section className="grid-container usa-section">
<div className="grid-row margin-x-neg-205 margin-bottom-6 flex-justify-center">
<div className="grid-col-6 padding-x-205 margin-bottom-4">
{debuggingEnabled && <MultiAuthSectionWithDebugging />}
{!debuggingEnabled && <MultiAuthSection />}
<MultiAuthSection />
</div>
<div className="grid-col-6 padding-x-205">
<h2>Access to OPS requires proper authentication.</h2>
Expand Down

0 comments on commit 34914ba

Please sign in to comment.