1. 26 Nov, 2018 1 commit
    • Sean McGivern's avatar
      Allow profiler to authenticate by stubbing users directly · f1a7e7fe
      Sean McGivern authored
      Previously, we used a personal access token. This had a couple of
      problems:
      
      1. If the user didn't have a PAT, we couldn't impersonate them.
      2. It depended on reading the raw PAT from the database.
      
      Instead, we can monkey-patch the authentication methods on
      ApplicationController (overriding the Devise ones), and remove them once
      we're done. This does mean that profiles will not profile auth
      correctly, so for that, use a PAT directly.
      f1a7e7fe
  2. 23 Nov, 2018 3 commits
  3. 22 Nov, 2018 36 commits