Minor Changes
-
Introduce
treatPendingAsSignedOutoption togetAuth(#5842) by @LauraBeatris// `pending` sessions will be treated as signed-out by default const { userId } = getAuth(req);
// Both `active` and `pending` sessions will be treated as authenticated when `treatPendingAsSignedOut` is false const { userId } = getAuth(req, { treatPendingAsSignedOut: false });