Rename none option on idp step to Built In on Tenant Creation (#465)
This commit is contained in:
@@ -135,7 +135,7 @@ const AddTenant = ({
|
||||
const [advancedMode, setAdvancedMode] = useState<boolean>(false);
|
||||
const [enablePrometheus, setEnablePrometheus] = useState<boolean>(false);
|
||||
const [consoleImage, setConsoleImage] = useState<string>("");
|
||||
const [idpSelection, setIdpSelection] = useState<string>("none");
|
||||
const [idpSelection, setIdpSelection] = useState<string>("Built-in");
|
||||
const [openIDURL, setOpenIDURL] = useState<string>("");
|
||||
const [openIDClientID, setOpenIDClientID] = useState<string>("");
|
||||
const [openIDSecretID, setOpenIDSecretID] = useState<string>("");
|
||||
@@ -433,7 +433,7 @@ const AddTenant = ({
|
||||
useEffect(() => {
|
||||
let customIDPValidation: IValidation[] = [];
|
||||
|
||||
if (idpSelection === "none") {
|
||||
if (idpSelection === "Built-in") {
|
||||
setIdpValid(true);
|
||||
setValidationErrors({});
|
||||
|
||||
@@ -921,7 +921,7 @@ const AddTenant = ({
|
||||
};
|
||||
}
|
||||
|
||||
if (idpSelection !== "none") {
|
||||
if (idpSelection !== "Built-in") {
|
||||
let dataIDP: any = {};
|
||||
|
||||
switch (idpSelection) {
|
||||
@@ -1249,7 +1249,7 @@ const AddTenant = ({
|
||||
setIdpSelection(e.target.value);
|
||||
}}
|
||||
selectorOptions={[
|
||||
{ label: "None", value: "none" },
|
||||
{ label: "Built-in", value: "Built-in" },
|
||||
{ label: "OpenID", value: "OpenID" },
|
||||
{ label: "Active Directory", value: "AD" },
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user