Added support for serverside rendering of members content (#10522)

no-issue

- Added member auth middleware to siteApp
- Passed member as context in routing service
- set Cache-Control: private for member requests
- fucked up some tests
- Added member as global template variable
- Updated tokens to have expiry of subscription_period_end
This commit is contained in:
Fabien O'Carroll 2019-02-25 17:03:27 +01:00
parent b51b6b1d43
commit 33c574f257

View File

@ -48,7 +48,6 @@ export default class MembersProvider extends Component {
return this.ready.then(() => {
return new Promise((resolve, reject) => {
this.gateway.call(method, options, (err, successful) => {
console.log({method, options, err, successful});
if (err || !successful) {
reject(err || !successful);
}