We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2c03e8 + 04775c3 commit 5e2bf78Copy full SHA for 5e2bf78
applications/pass/src/lib/auth.ts
@@ -114,7 +114,7 @@ export const createAuthService = ({
114
115
/** Force lock unless: matching localID + valid session + online.
116
* Allows bypassing locks on page refresh when localID is preserved */
117
- options.forceLock = !(validLocalID && validActiveSession && getOnline());
+ options.forceLock = options.forceLock ?? !(validLocalID && validActiveSession && getOnline());
118
119
const localID = pathLocalID ?? authStore.getLocalID() ?? getDefaultLocalID(sessions);
120
const error = getRouteError(history.location.search);
0 commit comments