diff --git a/.changeset/tall-moons-beam.md b/.changeset/tall-moons-beam.md new file mode 100644 index 000000000000..d712e5b7531c --- /dev/null +++ b/.changeset/tall-moons-beam.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/meteor": patch +--- + +Enable the option `Only allow verified users to login` to SaaS environment diff --git a/apps/meteor/server/settings/accounts.ts b/apps/meteor/server/settings/accounts.ts index ccc87b0ffd24..ba031c9210d5 100644 --- a/apps/meteor/server/settings/accounts.ts +++ b/apps/meteor/server/settings/accounts.ts @@ -282,13 +282,6 @@ export const createAccountSettings = () => await this.add('Accounts_EmailVerification', false, { type: 'boolean', public: true, - enableQuery: { - _id: 'SMTP_Host', - value: { - $exists: true, - $ne: '', - }, - }, }); await this.add('Accounts_Verify_Email_For_External_Accounts', true, { type: 'boolean',