[CORL-822] Safari Fix (#2760)

* fix: forced version

* fix: removed cookie code

* chore: version bump
This commit is contained in:
Wyatt Johnson
2019-12-19 14:14:59 -05:00
committed by Kim Gardner
parent 637605a002
commit 64800ffaee
3 changed files with 3 additions and 30 deletions
+1 -7
View File
@@ -7,7 +7,6 @@ import { createReduxEmitter } from './events';
import { createRestClient } from './rest';
import thunk from 'redux-thunk';
import { loadTranslations } from './i18n';
import bowser from 'bowser';
import noop from 'lodash/noop';
import { BASE_PATH } from 'coral-framework/constants/url';
import { createPluginsService } from './plugins';
@@ -65,12 +64,7 @@ const getAuthToken = (store, storage) => {
}
return token;
} else if (
!bowser.safari &&
!bowser.ios &&
storage &&
storage.getItem('token')
) {
} else if (storage && storage.getItem('token')) {
// Use local storage auth tokens where there's a stable api.
return storage.getItem('token');
}