-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
chore: update handlebars to version 4.7.1 #3693
Conversation
73894e3
to
e3106c7
Compare
@Betree could you have a look at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a good way to solve this issue. We should carefully inspect the important emails to make sure there's nothing missing.
server/models/User.js
Outdated
@@ -198,6 +198,7 @@ export default (Sequelize, DataTypes) => { | |||
emailWaitingForValidation: this.emailWaitingForValidation, | |||
createdAt: this.createdAt, | |||
updatedAt: this.updatedAt, | |||
emailConfirmationToken: this.emailConfirmationToken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a private information that should never be shared, it should not appear in info
.
Because there's only one email relying on that, I would suggest passing it manually where it's needed.
f5f2752
to
187a143
Compare
187a143
to
1d509a0
Compare
@bolariin changes are good. I still need to test the emails, I'll try to do it today. |
Sorry for the late update, busy week! Testing that now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested a bunch of emails, including:
- Sign in
- Reset password
- New member
- Gift cards
- New expense
Everything seems to work properly. Nice job @bolariin!
Resolves opencollective/opencollective#2802
I made use of
info
ingetterMethods
of the model as it was already used within the codebase. From what I could see the errors came from passing the sequelize instances directly as data.