mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 20:58:45 +08:00
Gracefully allow user with no email
This commit is contained in:
@@ -516,8 +516,6 @@ module.exports = class UsersService {
|
||||
};
|
||||
|
||||
return MailerService.sendSimple(options);
|
||||
} else {
|
||||
return Promise.reject(errors.ErrMissingEmail);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user