Skip to content

v1.2.4 - Invites refactored, Users soft-delete, clean-up

Latest

Choose a tag to compare

@anthonybudd anthonybudd released this 30 Apr 03:45
· 2 commits to master since this release

v1.2.4

  • Invite system refactored. Current process had bug preventing multiple invites to the same new email.
  • Deleted providers/hCaptcha.ts. Moved contents to routes/middleware/hCaptcha.ts
  • Added Users.deletedAt. Users model soft-delete (paranoid) enabled.
  • Removed Users.inviteKey
  • Added GroupsUsers.inviteKey
  • Major changes to /auth/invite, also route updated to /auth/sign-up/with-invite
  • Major changes to /groups/:groupID/users/invite
  • Major changes to /groups/:groupID/users/:userID/resend-invitation-email
  • Removed generate command
  • Email.generate moved to helpers
  • generateJWT moved to helpers