mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
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:
parent
709a1cce4e
commit
487326aef5
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ module.exports = function layer2(options) {
|
|||
return openAuth('upgrade');
|
||||
}
|
||||
|
||||
function getToken({audience}) {
|
||||
return members.getToken({audience});
|
||||
function getToken({audience, fresh}) {
|
||||
return members.getToken({audience, fresh});
|
||||
}
|
||||
|
||||
function signout() {
|
||||
|
|
Loading…
Add table
Reference in a new issue