Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove enableQuery from Accounts_EmailVerification #30686

Merged
merged 7 commits into from
Oct 23, 2023
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
Loading