mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03: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
@ -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…
Reference in New Issue
Block a user