Skip to content

Commit 5e2bf78

Browse files
author
MargeBot
committed
Merge branch 'IDTEAM-fix-forcelock-extra-pwd' into 'main'
[IDTEAM] Fix `forceLock` for extra password mode See merge request web/clients!18328
2 parents d2c03e8 + 04775c3 commit 5e2bf78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/pass/src/lib/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const createAuthService = ({
114114

115115
/** Force lock unless: matching localID + valid session + online.
116116
* Allows bypassing locks on page refresh when localID is preserved */
117-
options.forceLock = !(validLocalID && validActiveSession && getOnline());
117+
options.forceLock = options.forceLock ?? !(validLocalID && validActiveSession && getOnline());
118118

119119
const localID = pathLocalID ?? authStore.getLocalID() ?? getDefaultLocalID(sessions);
120120
const error = getRouteError(history.location.search);

0 commit comments

Comments
 (0)