@stevederico/skateboard-ui 1.2.13 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/Utilities.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Utilities.js
CHANGED
|
@@ -118,7 +118,8 @@ export function isAuthenticated() {
|
|
|
118
118
|
return true;
|
|
119
119
|
}
|
|
120
120
|
const csrfKey = getAppKey('csrf');
|
|
121
|
-
|
|
121
|
+
const userKey = getAppKey('user');
|
|
122
|
+
return Boolean(safeGetItem(csrfKey)) && Boolean(safeGetItem(userKey));
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
export function getBackendURL() {
|