From 58243e930d48b7da0cd018e3a1dded2b0561e2cd Mon Sep 17 00:00:00 2001
From: Trevor McMaster
Date: Fri, 6 Dec 2024 07:49:42 -0700
Subject: [PATCH] Removed Non Prod message for login
---
controller/components/StartTestForm/index.tsx | 1 -
controller/pages/login.tsx | 6 +++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/controller/components/StartTestForm/index.tsx b/controller/components/StartTestForm/index.tsx
index 982aa300..0ead2170 100644
--- a/controller/components/StartTestForm/index.tsx
+++ b/controller/components/StartTestForm/index.tsx
@@ -65,7 +65,6 @@ const notAuthorizedMessageOpenId = (username?: string | null): JSX.Element =>
Please request 'Pewpew - User' permission if you need to be able to run tests.
- DO NOT request 'Non Prod' Permissions. Those are for internal authentication testing only.
;
diff --git a/controller/pages/login.tsx b/controller/pages/login.tsx
index 45e06ad1..b9e27b8f 100644
--- a/controller/pages/login.tsx
+++ b/controller/pages/login.tsx
@@ -4,7 +4,7 @@ import {
SESSION_EXPIRED_MESSAGE,
logout as authLogout
} from "./api/util/authclient";
-import { Alert, Danger, Info, Warning } from "../components/Alert";
+import { Alert, Danger, Info } from "../components/Alert";
import type {
GetServerSideProps,
GetServerSidePropsContext,
@@ -48,8 +48,8 @@ export interface LoginProps {
errorLoading: string | undefined;
}
-const NOT_AUTHORIZED_MESSAGE_AUTHENTICATION: JSX.Element = <>Please request 'Pewpew - User' permission if you need to be able to run tests.
DO NOT request 'Non Prod' Permissions. Those are for internal authentication testing only.>;
-const ACCESS_DENIED_AUTHENTICATION_MESSAGE: JSX.Element = <>Please request either the 'Pewpew Test - User' (run tests) or 'Pewpew - Read Only' (view results) permission.
DO NOT request 'Non Prod' Permissions. Those are for internal authentication testing only.>;
+const NOT_AUTHORIZED_MESSAGE_AUTHENTICATION: JSX.Element = <>Please request 'Pewpew - User' permission if you need to be able to run tests.
>;
+const ACCESS_DENIED_AUTHENTICATION_MESSAGE: JSX.Element = <>Please request either the 'Pewpew Test - User' (run tests) or 'Pewpew - Read Only' (view results) permission.
>;
const Login = ({ token, redirectUrl, errorLoading }: LoginProps): JSX.Element => {
log("redirectUrl: " + redirectUrl, LogLevel.DEBUG);