diff --git a/plugins/login/src/index.ts b/plugins/login/src/index.ts index 77b7c0a85aa..9369f8dced4 100644 --- a/plugins/login/src/index.ts +++ b/plugins/login/src/index.ts @@ -93,11 +93,11 @@ export default plugin(loginId, { EmailMask: '' as IntlString, NoLimit: '' as IntlString, InviteLimit: '' as IntlString, - PasswordMinLength: '' as IntlString<{ min: string }>, - PasswordMinSpecialChars: '' as IntlString<{ min: string }>, - PasswordMinDigits: '' as IntlString<{ min: string }>, - PasswordMinUpperChars: '' as IntlString<{ min: string }>, - PasswordMinLowerChars: '' as IntlString<{ min: string }> + PasswordMinLength: '' as IntlString<{ count: number }>, + PasswordMinSpecialChars: '' as IntlString<{ count: number }>, + PasswordMinDigits: '' as IntlString<{ count: number }>, + PasswordMinUpperChars: '' as IntlString<{ count: number }>, + PasswordMinLowerChars: '' as IntlString<{ count: number }> }, function: { SendInvite: '' as Resource<(email: string, personId?: Ref, role?: AccountRole) => Promise>,