[PR #2540] [MERGED] fix: added password hashing to prevent timing attacks #4367

Closed
opened 2026-03-13 11:43:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2540
Author: @Kinfe123
Created: 5/5/2025
Status: Merged
Merged: 5/5/2025
Merged by: @Kinfe123

Base: mainHead: fix/password-hashing-for-enumeration


📝 Commits (2)

  • 8ab7bb0 fix: adding hash for preventing timing based attacks
  • f15e559 error code export

📊 Changes

2 files changed (+6 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/api/routes/sign-in.ts (+3 -0)
📝 packages/better-auth/src/plugins/username/index.ts (+3 -0)

📄 Description

No description provided


🔄 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/2540 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 5/5/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `fix/password-hashing-for-enumeration` --- ### 📝 Commits (2) - [`8ab7bb0`](https://github.com/better-auth/better-auth/commit/8ab7bb02eedfce5b9eca056e13562e178ddc1c1a) fix: adding hash for preventing timing based attacks - [`f15e559`](https://github.com/better-auth/better-auth/commit/f15e55947b0abc07e3b6508afcfae35febfe6de7) error code export ### 📊 Changes **2 files changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/sign-in.ts` (+3 -0) 📝 `packages/better-auth/src/plugins/username/index.ts` (+3 -0) </details> ### 📄 Description _No description provided_ --- <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-03-13 11:43:07 -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#4367