mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 21:28:18 +00:00
misc: added context
This commit is contained in:
@@ -115,6 +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
|
||||||
const isUserSamlAccessEnabled = isSamlConfiguredForUser && data.enabledLoginMethods.includes(LoginMethod.SAML);
|
const isUserSamlAccessEnabled = isSamlConfiguredForUser && data.enabledLoginMethods.includes(LoginMethod.SAML);
|
||||||
const isOidcConfiguredForUser = Boolean(
|
const isOidcConfiguredForUser = Boolean(
|
||||||
await userAliasDAL.findOne({
|
await userAliasDAL.findOne({
|
||||||
|
|||||||
Reference in New Issue
Block a user