Skip to content

Commit

Permalink
fix: remove enableQuery from Accounts_EmailVerification (#30686)
Browse files Browse the repository at this point in the history
  • Loading branch information
tapiarafael authored and hugocostadev committed Oct 26, 2023
1 parent 932fad6 commit 09c7193
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/tall-moons-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Enable the option `Only allow verified users to login` to SaaS environment
7 changes: 0 additions & 7 deletions apps/meteor/server/settings/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 09c7193

Please sign in to comment.