etherpad-lite/src/node/hooks
Richard Hansen d3984aa621 express: Move preAuthorize hook after express-session
The `ep_openid_connect` plugin needs access to session state before
authorization checks are made (to securely redirect the user back to
the start page when authentication completes). Now that the
`expressPreSession` hook exists, the rationale for moving
`preAuthorize` before the `express-session` middleware is gone.

This change undoes the following commits:
  * bf35dcfc50
  * 0b1ec20c5c
  * 30544b564e
2022-01-14 00:44:54 -05:00
..
express express: Move preAuthorize hook after express-session 2022-01-14 00:44:54 -05:00
express.js express: Move preAuthorize hook after express-session 2022-01-14 00:44:54 -05:00
i18n.js express: Move static handlers to expressPreSession 2021-12-20 20:08:19 -05:00