[PR #736] [CLOSED] fixes cookie MaxAge not being updated when calling getSession #20359

Closed
opened 2026-04-15 19:39:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/736
Author: @Kabeer10
Created: 12/3/2024
Status: Closed

Base: mainHead: fix/cookie-expiry


📝 Commits (1)

  • d9df21a fixes cookie expiry age not being updated

📊 Changes

1 file changed (+15 additions, -15 deletions)

View changed files

📝 packages/better-auth/src/cookies/index.ts (+15 -15)

📄 Description

Not fetching session inside setSessionCookie seems to work. Please verify it doesn't break other things.

Closes issue #722


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/736 **Author:** [@Kabeer10](https://github.com/Kabeer10) **Created:** 12/3/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/cookie-expiry` --- ### 📝 Commits (1) - [`d9df21a`](https://github.com/better-auth/better-auth/commit/d9df21ac0a8771038a9a3cf6c0e7821bb6b897b4) fixes cookie expiry age not being updated ### 📊 Changes **1 file changed** (+15 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/cookies/index.ts` (+15 -15) </details> ### 📄 Description Not fetching session inside `setSessionCookie` seems to work. Please verify it doesn't break other things. Closes issue #722 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 19:39:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#20359