misc: updated comment

This commit is contained in:
Sheen Capadngan
2025-01-15 00:49:53 +08:00
parent 80f72e8040
commit 5ad419c079

View File

@@ -115,8 +115,8 @@ export const superAdminServiceFactory = ({
})
);
// We do this because we do not store SAML and OIDC auth values in the user
// authMethods field and so we infer this from the user aliases
// We do not store SAML and OIDC auth values in the user authMethods field
// and so we infer its usage from the user's aliases
const isUserSamlAccessEnabled = isSamlConfiguredForUser && data.enabledLoginMethods.includes(LoginMethod.SAML);
const isOidcConfiguredForUser = Boolean(
await userAliasDAL.findOne({