mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Merge pull request #3994 from halfdan/3982-use-auth-scope
Add authentication scope.
This commit is contained in:
commit
aceb85d2c2
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ var AuthenticationInitializer = {
|
|||
return this._super(url, data);
|
||||
}
|
||||
});
|
||||
SimpleAuth.Stores.LocalStorage.reopen({
|
||||
key: 'ghost' + (Ghost.subdir.indexOf('/') === 0 ? '-' + Ghost.subdir.substr(1) : '') + ':session'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue