diff --git a/plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/saml/SAMLUtils.java b/plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/saml/SAMLUtils.java index 54f6e84fe36..364a43e93c0 100644 --- a/plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/saml/SAMLUtils.java +++ b/plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/saml/SAMLUtils.java @@ -321,6 +321,7 @@ public class SAMLUtils { String sessionKeyCookie = String.format("%s=%s;Domain=%s;Path=%s;%s", ApiConstants.SESSIONKEY, loginResponse.getSessionKey(), domain, path, sameSite); LOGGER.debug("Adding sessionkey cookie to response: " + sessionKeyCookie); resp.addHeader("SET-COOKIE", sessionKeyCookie); + resp.addHeader("SET-COOKIE", String.format("%s=%s;HttpOnly;Path=/client/api;%s", ApiConstants.SESSIONKEY, loginResponse.getSessionKey(), sameSite)); } /** diff --git a/ui/src/components/menu/SMenu.vue b/ui/src/components/menu/SMenu.vue index 67603b7b924..f48b4607321 100644 --- a/ui/src/components/menu/SMenu.vue +++ b/ui/src/components/menu/SMenu.vue @@ -58,6 +58,12 @@ v-if="item.meta.icon && typeof (item.meta.icon) === 'string'" :icon="item.meta.icon" @click="() => { handleClickParentMenu(item) }" /> + {{ $t(item.meta.title) }} diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 5b86cd9ea88..e19456ecd5c 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -34,12 +34,12 @@ - + @@ -185,7 +185,10 @@
{{ $t('label.cpu') }}
- + {{ resource.cpunumber }} CPU x {{ (resource.cpuspeed / 1000.0).toFixed(2) }} GHz