Attach passport and authsome to app.locals
This allows PubSweet components to access passport
and authsome
, to provide authentication and permissions for server routes.
This allows PubSweet components to access passport
and authsome
, to provide authentication and permissions for server routes.