[PR #6510] [CLOSED] fix(multi-session): maximumSessions comparison #14964

Closed
opened 2026-04-13 09:44:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6510
Author: @jslno
Created: 12/4/2025
Status: Closed

Base: canaryHead: 12-04-2025/fix-max-multi-sessions


📝 Commits (1)

  • a589662 fix(multi-session): max session comparison

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/multi-session/index.ts (+1 -1)

📄 Description

closes #4490


Summary by cubic

Fixed the multi-session limit check to allow up to the configured maximum sessions. We now block only when current sessions exceed the limit, addressing Linear #4490.

Written for commit a589662bbd. Summary will update automatically on new commits.


🔄 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/6510 **Author:** [@jslno](https://github.com/jslno) **Created:** 12/4/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `12-04-2025/fix-max-multi-sessions` --- ### 📝 Commits (1) - [`a589662`](https://github.com/better-auth/better-auth/commit/a589662bbd0c15c333c032f2e1094dd0e3f33dc8) fix(multi-session): max session comparison ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/multi-session/index.ts` (+1 -1) </details> ### 📄 Description closes #4490 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed the multi-session limit check to allow up to the configured maximum sessions. We now block only when current sessions exceed the limit, addressing Linear #4490. <sup>Written for commit a589662bbd0c15c333c032f2e1094dd0e3f33dc8. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <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-13 09:44:10 -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#14964