clinical-meteor / node-on-fhir

Tech stack for building MACRA and 21st Century Cures compliant webapps.
GNU Affero General Public License v3.0
86 stars 12 forks source link

Add invitation code expiration date #157

Closed awatson1978 closed 9 months ago

awatson1978 commented 1 year ago

Need an expiration date for when an invitation code expires, so it doesn't persist indefinitely.

// server/AccountServer.js
if(get(Meteor, 'settings.private.invitationCode')){
  if(moment().now() < get(Meteor, 'settings.private.invitationExpirationDate')){
    // do some stuff
  } 
}
awatson1978 commented 1 year ago

9614354d609a60bf2cbd47835ea954d7d1a21125

awatson1978 commented 9 months ago

Addressed in PR https://github.com/clinical-meteor/node-on-fhir/pull/195