mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +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');
|
return openAuth('upgrade');
|
||||||
}
|
}
|
||||||
|
|
||||||
function getToken({audience}) {
|
function getToken({audience, fresh}) {
|
||||||
return members.getToken({audience});
|
return members.getToken({audience, fresh});
|
||||||
}
|
}
|
||||||
|
|
||||||
function signout() {
|
function signout() {
|
||||||
|
Loading…
Reference in New Issue
Block a user