Updated layer2 to pass fresh param to layer1

no-issue

This is needed so that the theme dropin script can ensure that a new
token is recieved after upgrade
This commit is contained in:
Fabien O'Carroll 2019-03-19 14:00:51 +01:00
parent 709a1cce4e
commit 487326aef5

View File

@ -54,8 +54,8 @@ module.exports = function layer2(options) {
return openAuth('upgrade'); return openAuth('upgrade');
} }
function getToken({audience}) { function getToken({audience, fresh}) {
return members.getToken({audience}); return members.getToken({audience, fresh});
} }
function signout() { function signout() {