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 [advancedMode, setAdvancedMode] = useState<boolean>(false);
|
||||||
const [enablePrometheus, setEnablePrometheus] = useState<boolean>(false);
|
const [enablePrometheus, setEnablePrometheus] = useState<boolean>(false);
|
||||||
const [consoleImage, setConsoleImage] = useState<string>("");
|
const [consoleImage, setConsoleImage] = useState<string>("");
|
||||||
const [idpSelection, setIdpSelection] = useState<string>("none");
|
const [idpSelection, setIdpSelection] = useState<string>("Built-in");
|
||||||
const [openIDURL, setOpenIDURL] = useState<string>("");
|
const [openIDURL, setOpenIDURL] = useState<string>("");
|
||||||
const [openIDClientID, setOpenIDClientID] = useState<string>("");
|
const [openIDClientID, setOpenIDClientID] = useState<string>("");
|
||||||
const [openIDSecretID, setOpenIDSecretID] = useState<string>("");
|
const [openIDSecretID, setOpenIDSecretID] = useState<string>("");
|
||||||
@@ -433,7 +433,7 @@ const AddTenant = ({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let customIDPValidation: IValidation[] = [];
|
let customIDPValidation: IValidation[] = [];
|
||||||
|
|
||||||
if (idpSelection === "none") {
|
if (idpSelection === "Built-in") {
|
||||||
setIdpValid(true);
|
setIdpValid(true);
|
||||||
setValidationErrors({});
|
setValidationErrors({});
|
||||||
|
|
||||||
@@ -921,7 +921,7 @@ const AddTenant = ({
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (idpSelection !== "none") {
|
if (idpSelection !== "Built-in") {
|
||||||
let dataIDP: any = {};
|
let dataIDP: any = {};
|
||||||
|
|
||||||
switch (idpSelection) {
|
switch (idpSelection) {
|
||||||
@@ -1249,7 +1249,7 @@ const AddTenant = ({
|
|||||||
setIdpSelection(e.target.value);
|
setIdpSelection(e.target.value);
|
||||||
}}
|
}}
|
||||||
selectorOptions={[
|
selectorOptions={[
|
||||||
{ label: "None", value: "none" },
|
{ label: "Built-in", value: "Built-in" },
|
||||||
{ label: "OpenID", value: "OpenID" },
|
{ label: "OpenID", value: "OpenID" },
|
||||||
{ label: "Active Directory", value: "AD" },
|
{ label: "Active Directory", value: "AD" },
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user