mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Merge pull request #6291 from kevinansfield/fix-private-safari-login
Use AdaptiveStore for cookie fallback if local storage is unavailable
This commit is contained in:
commit
f0d33f863d
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