From ad7e52b742d575494fcf9b0752dee4b10ece792a Mon Sep 17 00:00:00 2001 From: Rafael Tapia Date: Mon, 23 Oct 2023 18:41:30 -0300 Subject: [PATCH] fix: remove enableQuery from Accounts_EmailVerification (#30686) --- .changeset/tall-moons-beam.md | 5 +++++ apps/meteor/server/settings/accounts.ts | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 .changeset/tall-moons-beam.md 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',