Change order of client sections (#2245)
This commit is contained in:
parent
9e37252db2
commit
49c77c20cd
1 changed files with 3 additions and 3 deletions
|
@ -56,17 +56,17 @@ export const ClientSettings = ({
|
||||||
);
|
);
|
||||||
|
|
||||||
const sections = useMemo(() => {
|
const sections = useMemo(() => {
|
||||||
let result = ["generalSettings"];
|
let result = ["generalSettings", "accessSettings"];
|
||||||
|
|
||||||
if (protocol === "saml") {
|
if (protocol === "saml") {
|
||||||
result = [...result, "samlCapabilityConfig", "signatureAndEncryption"];
|
result = [...result, "samlCapabilityConfig", "signatureAndEncryption"];
|
||||||
} else if (!client.bearerOnly) {
|
} else if (!client.bearerOnly) {
|
||||||
result = [...result, "capabilityConfig"];
|
result = [...result, "capabilityConfig"];
|
||||||
} else {
|
} else {
|
||||||
return [...result, "accessSettings"];
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
return [...result, "accessSettings", "loginSettings", "logoutSettings"];
|
return [...result, "loginSettings", "logoutSettings"];
|
||||||
}, [protocol, client]);
|
}, [protocol, client]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue