mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +00:00
Merge branch 'feat/allow-toggling-login-options-as-admin' of https://github.com/Infisical/infisical into feat/allow-toggling-login-options-as-admin
This commit is contained in:
@@ -106,8 +106,7 @@ export const superAdminServiceFactory = ({
|
|||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message:
|
message: "You must configure at least one auth method to prevent account lockout"
|
||||||
"Admin has insufficient authentication methods for update operation to complete without getting locked out."
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user