Skip to content

Commit 51d008b

Browse files
authored
Default jwtLocalStorage to 'jwt' (#54)
This matches master - if we don't do this, we would have to set this in each individual sub-app...so let's just make it opt-out.
1 parent 47d0607 commit 51d008b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib-esm/model.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class JSORMBase {
136136
static currentClass: typeof JSORMBase = JSORMBase
137137
static beforeFetch: BeforeFilter | undefined
138138
static afterFetch: AfterFilter | undefined
139-
static jwtLocalStorage: string | false = false
139+
static jwtLocalStorage: string | false = 'jwt'
140140

141141
private static _typeRegistry: JsonapiTypeRegistry
142142
private static _middlewareStack: MiddlewareStack

0 commit comments

Comments
 (0)