• Aaron L's avatar
    Fix an issue where user is db fetched twice · b09e4831
    Aaron L authored
    - Fix #79
    - Rename event EventGet to EventGetUser
    - Remove double DB fetch
    - Add new event callpoint: After(EventGetUser) for things that need to
      check that the user is ABLE to be gotten after it's fetched from the
      DB. That is before returning to the web app, ensure that the user is
      valid from a confirmation/lock etc point of view.
    - Add test to make sure all the events are firing in CurrentUser()
callbacks.go 3.41 KB