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(() => {
|
||||
let result = ["generalSettings"];
|
||||
let result = ["generalSettings", "accessSettings"];
|
||||
|
||||
if (protocol === "saml") {
|
||||
result = [...result, "samlCapabilityConfig", "signatureAndEncryption"];
|
||||
} else if (!client.bearerOnly) {
|
||||
result = [...result, "capabilityConfig"];
|
||||
} else {
|
||||
return [...result, "accessSettings"];
|
||||
return result;
|
||||
}
|
||||
|
||||
return [...result, "accessSettings", "loginSettings", "logoutSettings"];
|
||||
return [...result, "loginSettings", "logoutSettings"];
|
||||
}, [protocol, client]);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue