mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Use AdaptiveStore for cookie fallback if local storage is unavailable
closes #5829 - switch application session store to inherit from ESA's `AdaptiveStore` instead of `LocalStorageStore`
This commit is contained in:
parent
97919abdde
commit
50c3905cb3
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
import LocalStorageStore from 'ember-simple-auth/session-stores/local-storage';
|
||||
import AdaptiveStore from 'ember-simple-auth/session-stores/adaptive';
|
||||
|
||||
export default LocalStorageStore.extend({
|
||||
key: 'ghost:session'
|
||||
export default AdaptiveStore.extend({
|
||||
localStorageKey: 'ghost:session',
|
||||
cookieName: 'ghost:session'
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue