[PR #1546] [MERGED] feat: add disabled property for user #1706

Closed
opened 2026-02-26 20:30:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1546
Author: @catalinpit
Created: 12/17/2024
Status: Merged
Merged: 12/17/2024
Merged by: @Mythie

Base: mainHead: feat/disable-user-schema-property


📝 Commits (2)

  • 574b13d feat: add disabled property for user
  • 0d358b4 feat: disable login for users with disabled account

📊 Changes

5 files changed (+9 additions, -0 deletions)

View changed files

📝 apps/web/src/components/forms/signin.tsx (+1 -0)
📝 packages/lib/next-auth/auth-options.ts (+4 -0)
📝 packages/lib/next-auth/error-codes.ts (+1 -0)
packages/prisma/migrations/20241217103826_add_disabled_property_user_table/migration.sql (+2 -0)
📝 packages/prisma/schema.prisma (+1 -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/documenso/documenso/pull/1546 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 12/17/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/disable-user-schema-property` --- ### 📝 Commits (2) - [`574b13d`](https://github.com/documenso/documenso/commit/574b13d4e209354be10fa67e513aa42fb0fa57ec) feat: add disabled property for user - [`0d358b4`](https://github.com/documenso/documenso/commit/0d358b49ef4f6a2d80dec7001f51a31dfdd2e1ec) feat: disable login for users with disabled account ### 📊 Changes **5 files changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/components/forms/signin.tsx` (+1 -0) 📝 `packages/lib/next-auth/auth-options.ts` (+4 -0) 📝 `packages/lib/next-auth/error-codes.ts` (+1 -0) ➕ `packages/prisma/migrations/20241217103826_add_disabled_property_user_table/migration.sql` (+2 -0) 📝 `packages/prisma/schema.prisma` (+1 -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>
kerem 2026-02-26 20:30:43 +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#1706
No description provided.