Skip to content

Commit

Permalink
update self lock out msg
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Jul 2, 2024
1 parent 5a1e43b commit 9e9b9a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/services/super-admin/super-admin-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ export const superAdminServiceFactory = ({
)
) {
throw new BadRequestError({
message:
"Admin has insufficient authentication methods for update operation to complete without getting locked out."
message: "You must configure at least one auth method to prevent account lockout"
});
}
}
Expand Down

0 comments on commit 9e9b9a7

Please sign in to comment.