We are sending out account invitation messages to users, using Accounts.sendEnrollmentEmail
. In some cases, users fail to click the link for some time. In those cases, we have to re-send the invitations, making extra work for admin users.
The Meteor Accounts package seems to use DEFAULT_PASSWORD_ENROLL_TOKEN_EXPIRATION_DAYS
to expire activation links. Is it possible to override this value or disable it?
We were able to fix the issue with the following, e.g. in accounts.js
:
Accounts.config({
passwordEnrollTokenExpirationInDays: 60
});