[PR #196] [MERGED] feat: reset password #787

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/196
Author: @ephraimduncan
Created: 6/5/2023
Status: Merged
Merged: 6/17/2023
Merged by: @Mythie

Base: mainHead: feat/password-reset


📝 Commits (10+)

  • 447bf0c Add password reset to prisma schema
  • 002b22b Add forgot password page
  • 8293b50 Create reset password token for user
  • 66b529a feat: send reset password email
  • 8dc9c9d Add reset password page
  • 6e2b05f Change password in database to new reset password
  • 7c30ee0 Redirect to /login on password reset
  • c47e01b Display sucessful password reset request
  • 5d23490 Send email on password reset complete
  • e9cee23 Error handling for invalid users

📊 Changes

23 files changed (+689 additions, -35 deletions)

View changed files

apps/web/components/forgot-password.tsx (+115 -0)
📝 apps/web/components/login.tsx (+4 -2)
apps/web/components/reset-password.tsx (+143 -0)
apps/web/pages/api/auth/forgot-password.ts (+63 -0)
apps/web/pages/api/auth/reset-password.ts (+69 -0)
📝 apps/web/pages/api/auth/signup.ts (+3 -3)
apps/web/pages/auth/reset/[token].tsx (+30 -0)
apps/web/pages/auth/reset/index.tsx (+20 -0)
apps/web/pages/forgot-password.tsx (+32 -0)
📝 package-lock.json (+30 -1)
📝 package.json (+4 -2)
📝 packages/lib/mail/baseTemplate.ts (+1 -2)
📝 packages/lib/mail/index.ts (+4 -0)
packages/lib/mail/resetPasswordSuccessTemplate.ts (+51 -0)
packages/lib/mail/resetPasswordTemplate.ts (+46 -0)
📝 packages/lib/mail/sendMail.ts (+0 -1)
packages/lib/mail/sendResetPassword.ts (+14 -0)
packages/lib/mail/sendResetPasswordSuccessMail.ts (+11 -0)
📝 packages/lib/mail/signingCompleteTemplate.ts (+0 -1)
📝 packages/lib/server/getUserFromToken.ts (+5 -12)

...and 3 more files

📄 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/documenso/documenso/pull/196 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 6/5/2023 **Status:** ✅ Merged **Merged:** 6/17/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/password-reset` --- ### 📝 Commits (10+) - [`447bf0c`](https://github.com/documenso/documenso/commit/447bf0cb76c543c0e1c598dac22eb0da3d0fe7ea) Add password reset to prisma schema - [`002b22b`](https://github.com/documenso/documenso/commit/002b22b1a88d52823ebea215ae074a6d6b9b8ff8) Add forgot password page - [`8293b50`](https://github.com/documenso/documenso/commit/8293b5019530489044a0e53ff513fb32ba161b15) Create reset password token for user - [`66b529a`](https://github.com/documenso/documenso/commit/66b529a841f2dda36cfc110b5730cea06a7c183d) feat: send reset password email - [`8dc9c9d`](https://github.com/documenso/documenso/commit/8dc9c9d72dfcc8c9833885312554fa524612df34) Add reset password page - [`6e2b05f`](https://github.com/documenso/documenso/commit/6e2b05f8354eecc2a679240a6fd85d838d67c205) Change password in database to new reset password - [`7c30ee0`](https://github.com/documenso/documenso/commit/7c30ee0c3e1af084a877774d3429a0e27143bd97) Redirect to /login on password reset - [`c47e01b`](https://github.com/documenso/documenso/commit/c47e01b2b8d3b3236c456f07bfedef12829a9293) Display sucessful password reset request - [`5d23490`](https://github.com/documenso/documenso/commit/5d2349086d3a90e47ba0f50dd9c289db7e3b225e) Send email on password reset complete - [`e9cee23`](https://github.com/documenso/documenso/commit/e9cee23c15d509d2562748b1b40b7db445004a46) Error handling for invalid users ### 📊 Changes **23 files changed** (+689 additions, -35 deletions) <details> <summary>View changed files</summary> ➕ `apps/web/components/forgot-password.tsx` (+115 -0) 📝 `apps/web/components/login.tsx` (+4 -2) ➕ `apps/web/components/reset-password.tsx` (+143 -0) ➕ `apps/web/pages/api/auth/forgot-password.ts` (+63 -0) ➕ `apps/web/pages/api/auth/reset-password.ts` (+69 -0) 📝 `apps/web/pages/api/auth/signup.ts` (+3 -3) ➕ `apps/web/pages/auth/reset/[token].tsx` (+30 -0) ➕ `apps/web/pages/auth/reset/index.tsx` (+20 -0) ➕ `apps/web/pages/forgot-password.tsx` (+32 -0) 📝 `package-lock.json` (+30 -1) 📝 `package.json` (+4 -2) 📝 `packages/lib/mail/baseTemplate.ts` (+1 -2) 📝 `packages/lib/mail/index.ts` (+4 -0) ➕ `packages/lib/mail/resetPasswordSuccessTemplate.ts` (+51 -0) ➕ `packages/lib/mail/resetPasswordTemplate.ts` (+46 -0) 📝 `packages/lib/mail/sendMail.ts` (+0 -1) ➕ `packages/lib/mail/sendResetPassword.ts` (+14 -0) ➕ `packages/lib/mail/sendResetPasswordSuccessMail.ts` (+11 -0) 📝 `packages/lib/mail/signingCompleteTemplate.ts` (+0 -1) 📝 `packages/lib/server/getUserFromToken.ts` (+5 -12) _...and 3 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48: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#787
No description provided.