Skip to content

Commit

Permalink
fix: remember me auth sessions expires in 1 year (#666)
Browse files Browse the repository at this point in the history
Closes #546
  • Loading branch information
andrew-codes authored Dec 9, 2024
2 parents 6e104f9 + baf83ec commit e100330
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const signIn: NonNullable<MutationResolvers['signIn']> = async (
sameSite: 'strict',
secure: true,
domain: _ctx.domain,
expires: _arg.input.rememberMe ? null : expires,
expires: _arg.input.rememberMe ? expires : null,
value: `Bearer ${claim.credential}`,
httpOnly: true,
})
Expand Down

0 comments on commit e100330

Please sign in to comment.