mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 13:27:22 +00:00
Update org-service.ts
This commit is contained in:
@@ -419,14 +419,14 @@ export const orgServiceFactory = ({
|
|||||||
if (samlCfg && !samlCfg.lastUsed) {
|
if (samlCfg && !samlCfg.lastUsed) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message:
|
message:
|
||||||
"To apply the new SAML auth enforcement, please log in via SAML again. This step is required to enforce SAML-based authentication."
|
"To apply the new SAML auth enforcement, please log in via SAML at least once. This step is required to enforce SAML-based authentication."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oidcCfg && !oidcCfg.lastUsed) {
|
if (oidcCfg && !oidcCfg.lastUsed) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message:
|
message:
|
||||||
"To apply the new OIDC auth enforcement, please log in via OIDC again. This step is required to enforce OIDC-based authentication."
|
"To apply the new OIDC auth enforcement, please log in via OIDC at least once. This step is required to enforce OIDC-based authentication."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user