[PR #689] [CLOSED] fix: fix password form validation and update password logic for oauth… #1120

Closed
opened 2026-02-26 19:31:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/689
Author: @luckyklyist
Created: 11/27/2023
Status: Closed

Base: mainHead: forgetPswdOauth


📝 Commits (3)

  • 55939d2 fix: fix password form validation and update password logic for oauth user
  • 7ef4b39 feat: remove console.log statements in PasswordForm component
  • 5d8fb08 fix: refactor updatePassword function to handle null currentPassword

📊 Changes

5 files changed (+113 additions, -64 deletions)

View changed files

📝 apps/web/src/components/forms/password.tsx (+40 -40)
packages/lib/server-only/user/is-password-null.ts (+20 -0)
📝 packages/lib/server-only/user/update-password.ts (+39 -22)
📝 packages/trpc/server/profile-router/router.ts (+13 -1)
📝 packages/trpc/server/profile-router/schema.ts (+1 -1)

📄 Description

Issue no : #620

Fixed up the password form validation and updated the password logic for OAuth in response to issue #620. Introduced isPasswordNull routes and improved the password update process by checking for null values in the password field.

https://github.com/documenso/documenso/assets/35479077/b0da4339-6d80-4d2b-b0d2-24edbdba0ee5


🔄 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/documenso/documenso/pull/689 **Author:** [@luckyklyist](https://github.com/luckyklyist) **Created:** 11/27/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `forgetPswdOauth` --- ### 📝 Commits (3) - [`55939d2`](https://github.com/documenso/documenso/commit/55939d210aa11814c23887194cbe28651df2d1fb) fix: fix password form validation and update password logic for oauth user - [`7ef4b39`](https://github.com/documenso/documenso/commit/7ef4b39a24f434b2c86138db523391f3cb26c50a) feat: remove console.log statements in PasswordForm component - [`5d8fb08`](https://github.com/documenso/documenso/commit/5d8fb082e81707d10aebb0af818a9742fc017771) fix: refactor updatePassword function to handle null currentPassword ### 📊 Changes **5 files changed** (+113 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/components/forms/password.tsx` (+40 -40) ➕ `packages/lib/server-only/user/is-password-null.ts` (+20 -0) 📝 `packages/lib/server-only/user/update-password.ts` (+39 -22) 📝 `packages/trpc/server/profile-router/router.ts` (+13 -1) 📝 `packages/trpc/server/profile-router/schema.ts` (+1 -1) </details> ### 📄 Description Issue no : #620 Fixed up the password form validation and updated the password logic for OAuth in response to issue #620. Introduced isPasswordNull routes and improved the password update process by checking for null values in the password field. https://github.com/documenso/documenso/assets/35479077/b0da4339-6d80-4d2b-b0d2-24edbdba0ee5 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1120
No description provided.