소스 검색

Fix email verification in `sendSMTPTestEmail`

Fixes: 6e088af3
Marc Hartmayer 5 년 전
부모
커밋
afcb8aa49b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/settings.js

+ 1 - 1
models/settings.js

@@ -259,7 +259,7 @@ if (Meteor.isServer) {
         throw new Meteor.Error('invalid-user');
       }
       const user = Meteor.user();
-      if (!user.emails || !user.emails[0] || user.emails[0].address) {
+      if (!user.emails || !user.emails[0] || !user.emails[0].address) {
         throw new Meteor.Error('email-invalid');
       }
       this.unblock();