Ghost/core
Daniel Lockyer 95651b33a6
🐛 Fixed error when using staff access tokens
closes https://github.com/TryGhost/Team/issues/645

- we did some refactoring in [1] to turn promise chained code into
  async/await, but this removed an early `return` from the code
- therefore we'd continue on to further code, which breaks for obscure
  reasons that weren't apparent from the error
- this commit adds back a return at the end of the block where we handle
  staff API tokens to match the same functionality as before
- this is regression that landed in 4.3.0 and would break staff user
  tokens

[1]: b677927322 (diff-bc0bedcac8ec9646d0644c86a91e46f4759bc1b0c2aebac54a2b26ec474c3d15L148-L155)
2021-04-29 08:56:27 +01:00
..
client@87e700fe35 Updated Ghost-Admin to v4.3.2 2021-04-22 17:32:41 +01:00
frontend Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
server 🐛 Fixed error when using staff access tokens 2021-04-29 08:56:27 +01:00
shared Bumped @tryghost/members-api & Portal versions (#12836) 2021-04-05 16:29:17 +01:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Fixed Ghost hiding config errors behind a crash 2021-03-18 16:32:51 +00:00